/PageMode hint (Outlines, Thumbs, FullScreen, ...)property PageMode: TPageMode; // read only
Returns the document catalog's /PageMode display hint (pmNone, pmOutline, pmThumbs, pmFullScreen, pmOptionalContentGroup, pmAttachments or pmUnknown)
This is a document-level read-only property; its value does not depend on the currently selected PageNumber
PageMode when opening a document to decide whether to show a bookmarks tree, thumbnail side panel or attachments pane automaticallyActive set to False, the property returns pmUnknown
if Pdf1.Active then
Memo1.Lines.Add('PageMode = ' + IntToStr(Ord(Pdf1.PageMode)));