Gets the Table of Contents (TOC) of this PDF document.
public IList<PDFBookmark> Bookmarks {get;}
Public ReadOnly Property Bookmarks As IList(Of PDFBookmark)
public List<PDFBookmark> getBookmarks()
public:
property IList<PDFBookmark>^ Bookmarks {
IList<PDFBookmark>^ get();
}
A list of PDFBookmark objects that specify the Table of Contents (TOC) of this PDFDocument. The default value is null.
Use ParseDocumentStructure to parse the document structure of the PDF document. The document structure is the Table of Contents (TOC) and is 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 . 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.
To write bookmarks to a PDF file, use the PDFFile.WriteBookmarks method.
For an example, refer to ParseDocumentStructure.
Products |
Support |
Feedback: Bookmarks Property - Leadtools.Pdf |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.