GetPage
PowerScript function
Description
Gets a page in the PDF document.
Applies to
PDFDocument object in Objects and Controls
Syntax
|
1 |
PDFPage GetPage(long index) |
|
1 |
PDFPage GetPage(string name) |
|
Argument |
Description |
|---|---|
|
index |
The index of the page in the document. The indexes of the |
| name | The name of the page in the document. |
Return value
PDFPage object in Objects and Controls. Returns the PDFPage
object if it succeeds, and returns null if it fails..
Example
The following example gets the PDFPage object with the specified
index or name:
|
1 2 3 4 |
//Get the PDFPage object with index =1 lpdf_page = lpdf_doc.getpage(1) //Get the PDFPage object with name = page lpdf_page = lpdf_doc.getpage("page") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest