Leadtools.Pdf Namespace > PDFDocument Class : InternalLinks Property |
public IList<PDFInternalLink> InternalLinks {get;}
'Declaration Public ReadOnly Property InternalLinks As IList(Of PDFInternalLink)
'Usage Dim instance As PDFDocument Dim value As IList(Of PDFInternalLink) value = instance.InternalLinks
public: property IList<PDFInternalLink>^ InternalLinks { IList<PDFInternalLink>^ get(); }
Use ParseDocumentStructure to parse the document structure of the PDF document. The document structure is the Table of Contents (TOC) represented by a list of PDF bookmark objects stored in the Bookmarks property and the internal links between pages (or jumps) found in the document stored in the InternalLinks property.
When you first create an instance of PDFDocument, both InternalLinks and Bookmarks will be initialized to null (Nothing in Visual Basic). You must call ParseDocumentStructure with the desired PDFParseDocumentStructureOptions passed to the options parameters. When this method returns, the InternalLinks and Bookmarks will be populated accordingly.
For an example, refer to ParseDocumentStructure.