Skip to main content

PdfDocument.PageMode Property

Gets or sets the document’s page mode that specifies how to display the opened document (for example, whether to show page thumbnails or outlines automatically for a document).

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public PdfPageMode PageMode { get; set; }

Property Value

Type Description
PdfPageMode

A PdfPageMode enumeration value. The default value is UseNone.

Available values:

Name Description
UseNone

When a document is opened in the viewer, it shows only pages (Bookmarks, Attachments, Page Thumbnails, and Layers panels are hidden).

UseOutlines

When a document is opened in the viewer, it shows pages and opens the Bookmarks panel to display outlines (bookmarks).

UseThumbs

When a document is opened in the viewer, it shows pages and opens the Page Thumbnails panel to display thumbnails.

FullScreen

When a document is opened in the viewer, it shows pages in full screen mode (no menu bar, window controls, or any other window is visible).

UseOC

When a document is opened, for example, in the Adobe Acrobat Reader, the Reader shows pages and opens the optional content group panel (the Layers panel).

UseAttachments

When a document is opened in the viewer, it shows pages and opens the Attachments panel to display attachments.

See Also