PdfViewer.NavigationPaneInitialSelectedPage Property
Gets or sets a value that specifies a page (thumbnails, bookmarks or attachments) that will be selected on the navigation pane after loading a new PDF document.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v23.2.dll
NuGet Package: DevExpress.Win.PdfViewer
Declaration
Property Value
Type | Default | Description |
---|---|---|
PdfNavigationPanePage | Default | A PdfNavigationPanePage enumeration value that represents a selected page on the navigation pane. |
Available values:
Name | Description |
---|---|
Default | When this option is used, the Bookmarks page is opened if a document contains bookmarks. Otherwise, the Thumbnails page is shown on the navigation pane. |
Thumbnails | The Thumbnails page is selected on the navigation pane. |
Bookmarks | The Bookmarks page is selected on the navigation pane. |
Attachments | The Attachments page is selected on the navigation pane. |
Comments | The Comments page is selected on the navigation pane. |
Remarks
This property returns one of four PdfNavigationPanePage enumeration values: Attachments, Bookmarks, Thumbnails, and Default. In Default mode, the Bookmarks page is opened if a document contains bookmarks. Otherwise, the Thumbnails page is shown on the navigation pane.
The NavigationPaneInitialSelectedPage property automatically assigns its value to the PdfViewer.NavigationPaneSelectedPage property after a document is loaded to the PDF Viewer.