Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

RemovePage – PB Docs 2022 – PowerBuilder Library

RemovePage – PB Docs 2022

RemovePage

PowerScript function

Description

Removes a page from the PDF document.

Applies to

PDFDocument object in Objects and Controls

Syntax

Argument

Description

page

The PDFPage object to be removed from the document.

index The page index in the PDF document at which the page shall
be removed.

Return value

Long. Returns 1 if it succeeds. If an error occurs. For more errors,
see the Error Codes.

Usage

Call the function to remove a page from the PDF document. You may
either specify the PDFPage object and remove it, or specify the index at
which the PDFPage object exists and then remove it.

Examples

The following example removes the PDFPage object with index =
1:

The following example removes the specified PDFPage object:

See also

AddPage

Clone

GetPage

GetPageCount

GetTableOfContents

ImportDataWindow

ImportPDF

ImportRichTextEdit

IndexOf

InsertPage

Save

SearchObject

SetTableOfContents


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x