PageMode Enumeration

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This enum represents a list of available page modes.

Namespace:  Apitron.PDF.Kit
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: (

public enum PageMode

  Member nameValueDescription
UseNone0 Neither document outline nor thumbnail images visible
UseOutlines1 Document outline visible.
UseThumbs2 Thumbnail images visible.
UseOC3 Optional content group panel visible.
FullScreen4 Full-screen mode, with no menu bar, window controls, or any other window visible.
UseAttachments5 Attachments panel visible.

// these objects represent a fixed PDF document
FixedDocument document = new FixedDocument(inPdf);

// change viewer preferences
document.PageMode = PageMode.UseNone;
// OR
document.PageMode = PageMode.UseOutlines;
// OR
document.PageMode = PageMode.UseThumbs;
// OR
document.PageMode = PageMode.UseOC;
// OR
document.PageMode = PageMode.FullScreen;
// OR
document.PageMode = PageMode.UseAttachments;
See Also