Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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