SetPosByPageIndex
PowerScript function
Description
Sets the page index of the table of contents in the PDF
document.
Applies to
PDFTableOfContents
object in Objects and Controls
Syntax
|
1 |
SetPosByPageIndex(long pageIndex) |
|
Argument |
Description |
|---|---|
|
pageIndex |
The page index of the table of contents in the PDF |
Return value
None.
Usage
Call the function to set the page index of the table of contents in
the PDF document. If not set, the value is 1, meaning that the table of
contents will be inserted at the beginning of the PDF document.
Examples
The following example sets the page index of the table of contents
to be 2 in the PDF document:
|
1 2 |
//Set the page index of the PDFTableOfContents lpdf_toc.setposbypageindex(2) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest