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.v24.2.dll
NuGet Package: DevExpress.Win.PdfViewer
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Pdf |
Default | A Pdf |
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. |
Signatures | The Signatures page is selected on the navigation pane. |
Layers | The Layers 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.