Back to Devexpress

PdfDocument.PageMode Property

officefileapi-devexpress-dot-pdf-dot-pdfdocument-d60bf612.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfPageMode PageMode { get; set; }
vb
Public Property PageMode As PdfPageMode

Property Value

TypeDescription
PdfPageMode

A PdfPageMode enumeration value. The default value is UseNone.

|

Available values:

NameDescription
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

PdfDocument Class

PdfDocument Members

DevExpress.Pdf Namespace