PDF Viewer Navigation Pane
- 2 minutes to read
The navigation pane displays thumbnails, bookmarks, attachments, and annotations. Click the corresponding tab in the navigation pane to open or close the built-in panels.
Built-In Panels
Bookmarks
This panel displays bookmarks from the current PDF file.
The Options drop-down list shows bookmark settings.
The table below describes the bookmark settings and lists the API used to specify the corresponding options in code.
Option | Description | API |
---|---|---|
Expand Current Bookmarks | Expands the selected bookmark. | PdfOutlinesExpandCurrentCommand |
Collapse/Expand Top-Level Bookmarks | Expands or collapses all bookmarks. | PdfOutlinesExpandCollapseTopLevelCommand |
Hide After Use | Specifies whether to hide the panel after an outline was clicked. | PdfOutlineViewerSettings.HideAfterUse |
Text Size | Gets or sets the size of bookmark nodes. | PdfOutlineViewerSettings.TextSize |
Wrap Long Bookmarks | Specifies whether to wrap long bookmark names. | PdfOutlineViewerSettings.UseOutlinesForeColor |
Attachments
This panel displays the list of file attachments in the current PDF file.
When you open an attachment, the Security Warning message appears. Handle the PdfViewer.FileAttachmentOpening event to hide the message box.
Thumbnails
The Page Thumbnails panel displays page thumbnails.
The Options drop-down list shows thumbnail settings. This list can also be accessed from the panel’s context menu.
Option | Description | Command |
---|---|---|
Print Page(s) | Invokes the Print dialog to print pages that correspond to the selected thumbnails. If there are no selected thumbnails in the panel, all the pages are printed. | PdfThumbnailsPrintPagesCommand |
Enlarge Page Thumbnails | Increases the page thumbnail size. | PdfEnlargePageThumbnailsCommand |
Reduce Page Thumbnails | Decreases the page thumbnail size. | PdfReducePageThumbnailsCommand |
You can use the zoom slider or Ctrl+Mouse Wheel shortcut to enlarge/reduce thumbnails.
Comments
The Comments panel displays annotations and comments.
You can sort and filter comments by page, author, date, type, check and review status.
Click an annotation to add a reply to it. Double-click the annotation to edit its contents.
Right-click the annotation and select Set Status to specify the review status. Select None to remove the status.
Customization
The PDF Viewer ships with the following API used to customize the navigation pane:
Action | Properties | Events |
---|---|---|
Change the pane’s visibility | PdfViewer.NavigationPaneVisibility PdfViewer.NavigationPaneInitialVisibility |
PdfViewer.NavigationPaneVisibilityChanged |
Display only specific panels | PdfViewer.NavigationPanePageVisibility | |
Change active page | PdfViewer.NavigationPaneInitialSelectedPage PdfViewer.NavigationPaneSelectedPage |
PdfViewer.NavigationPaneSelectedPageChanged |
Specify the pane’s width | PdfViewer.NavigationPaneWidth PdfViewer.NavigationPaneMinWidth |
Note
The NavigationPaneSelectedPage property does not select a page on the navigation pane if the PdfViewer.NavigationPanePageVisibility property hides the selected page or if it is set to a panel that is hidden (for example, if the document does not contain bookmarks).