THPDFNonFullScreenPageMode Type
Selects the page mode the viewer restores after leaving full-screen mode (catalog /NonFullScreenPageMode)
Declaration
THPDFNonFullScreenPageMode= (nfpmUseNone, nfpmUseOutlines, nfpmUseThumbs, nfpmUseOC, nfpmUseAttachments);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
nfpmUseNone | /UseNone: show neither the document outline nor thumbnail images (default) |
nfpmUseOutlines | /UseOutlines: show the document outline panel |
nfpmUseThumbs | /UseThumbs: show the page thumbnail panel |
nfpmUseOC | /UseOC: show the optional content group panel (PDF 1.5) |
nfpmUseAttachments | /UseAttachments: show the file attachments panel (PDF 1.6) |
Usage notes
- Assign a value of this type to the THotPDF.NonFullScreenPageMode property and enable the matching viewer-preferences flag so the value is written to the catalog
- The /NonFullScreenPageMode entry itself is a PDF 1.0 feature; the library substitutes UseNone when the active document version cannot accept /UseOC (PDF 1.5) or /UseAttachments (PDF 1.6)
- The value only matters for documents whose /PageMode requests full-screen viewing