Back to Devexpress

PdfViewer.NavigationPaneInitialSelectedPage Property

windowsforms-devexpress-dot-xtrapdfviewer-dot-pdfviewer-23408dea.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
[DefaultValue(PdfNavigationPanePage.Default)]
public PdfNavigationPanePage NavigationPaneInitialSelectedPage { get; set; }
vb
<DefaultValue(PdfNavigationPanePage.Default)>
Public Property NavigationPaneInitialSelectedPage As PdfNavigationPanePage

Property Value

TypeDefaultDescription
PdfNavigationPanePageDefault

A PdfNavigationPanePage enumeration value that represents a selected page on the navigation pane.

|

Available values:

NameDescription
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.

See Also

PdfViewer Class

PdfViewer Members

DevExpress.XtraPdfViewer Namespace