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

AddPage – PB Docs 2022 – PowerBuilder Library

AddPage – PB Docs 2022

AddPage

PowerScript function

Description

Adds a page to the PDF document.

Applies to

PDFDocument object in Objects and Controls

Syntax

Argument

Description

page

The PDFPage object to add in the document. The page will
be added to the end of the document.

Return value

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

Usage

Call the function to add a PDFPage object, which is a page, to a PDF
document. The page will be added to the end of the document. If you want
to add it to certain position in the document, call the InsertPage function instead.

Note that one PDFPage object can only be added or inserted once in
any PDF document. If you want to add or insert the PDFPage object again,
clone the object first.

Examples

This example adds an empty page to a PDF document.

See also

Clone

GetPage

GetPageCount

GetTableOfContents

ImportDataWindow

ImportPDF

ImportRichTextEdit

IndexOf

InsertPage

RemovePage

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