Syntax 6: For PDFTableOfContents and PDFTableOfContentsItem
objects
Description
Gets an item in the table of contents.
Applies to
PDFTableOfContentsItem
objects
Syntax
|
1 |
PDFTableOfContentsItem GetItem(long index) |
|
Argument |
Description |
|---|---|
|
index |
The index of the item in the table of contents. The |
Return value
PDFTableOfContentsItem objects.
Returns the table of contents item created in the table of contents if
the function succeeds, and returns null if it fails.
Usage
Use this syntax to get the table of contents item at the given
index in the table of contents.
Examples
The following example gets the first item in the table of
contents:
|
1 2 |
PDFTableOfContentsItem lpdf_tocitem lpdf_tocitem = lpdf_toc.getitem( 1) |
See also