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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document