Syntax 2: For PDFTableOfContents object
Description
Removes all items from the table of contents.
Applies to
PDFTableOfContentsItem
objects
Syntax
|
1 |
long RemoveAll() |
Return value
Long. Returns 1 if the function succeeds and -1 if an error
occurs. For the full list of error codes, see Error Codes.
Usage
If calling the function for PDFTableOfContents, all the items
(including their sub items) will be removed from the table of contents.
If calling the function for PDFTableOfContentsItem, all the sub level
items (will be removed from the table of contents item.
Syntax
The following example removes all the items (including their sub
items) from the table of contents.
|
1 |
lpdf_toc.removeall( ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest