The PageMode tells a PDF viewer how to display the document on
open: just the content, the outline panel beside it, the
thumbnails panel, full-screen, the optional-content panel, or
the attachments panel. Wraps FPDFDoc_GetPageMode.
Arguments
- doc
A
pdfium_docfrompdf_doc_open(), or a character path.- password
Optional password for encrypted PDFs when
docis a path. Ignored whendocis already an openpdfium_doc.