Click or drag to resize
Pdf Library for .NET

PdfDocumentBookmarks Property

Gets the document-level bookmark (outline) collection. Use this to add navigation entries that appear in the PDF reader's outline pane.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfBookmarksCollection Bookmarks { get; }

Property Value

PdfBookmarksCollection
Remarks
Bookmarks added here apply to both new documents (created via HtmlToPdf or new PdfDocument()) and loaded documents. Any bookmarks auto-generated from HTML markers during conversion are also exposed through this collection. Set PageMode to UseOutlines to have readers open with the bookmark pane visible.
See Also