Syncfusion AI Assistant

How can I help you?

Bookmark navigation in SfPdfViewer

1 Jun 20261 minute to read

Use the bookmark panel to jump to labeled destinations in the PDF.

Bookmarks embedded in the PDF are loaded automatically and listed in the bookmark panel. Selecting a bookmark navigates to its target. Nested bookmarks are supported. If a document has no bookmarks, the panel appears empty.

Bookmark panel in Blazor PDF Viewer showing document bookmarks

Show or hide the bookmark panel by setting the EnableBookmarkPanel property. This property controls only the panel’s visibility; bookmarks are read from the PDF itself.

@using Syncfusion.Blazor.SfPdfViewer

<SfPdfViewer2 Height="100%" Width="100%" DocumentPath="@DocumentPath" EnableBookmarkPanel="true" />

@code{
    public string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succinctly.pdf";
}

NOTE

Blazor PDF Viewer supports rendering bookmark text in view-only mode with the formatting styles defined in the source document. This enhancement ensures that bookmarks are displayed exactly as authored, preserving their original styling and structure while improving readability and navigation.

Bookmark panel with styles

See also