GetTableOfContents

Description

Gets the PDFTableOfContents object from the PDF document.

Applies to

PDFDocument_object

Syntax

PDFTableOfContents GetTableOfContents()

Return value

PDFTableOfContents object. Returns the PDFTableOfContents object of the current PDF document if it succeeds, or null if it fails.

Example

The following example gets the PDFTableOfContents object in the current document:

PDFtableofcontents lpdf_toc
lpdf_toc = Create PDFtableofcontents
//Get the PDFTableOfContents object in the current document
lpdf_toc  = lpdf_doc.gettableofcontents()

See also

AddPage

Clone

GetPage

GetPageCount

ImportDataWindow

ImportPDF

ImportRichTextEdit

IndexOf

InsertPage

RemovePage

Save

SearchObject

SetTableOfContents