Click or drag to resize

PdfiumFPDFDoc_GetPageMode Method

Get the document's PageMode(How the document should be displayed when opened)

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static PageModes FPDFDoc_GetPageMode(
	IntPtr document
)

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) function.

Return Value

PageModes
The flags for page mode.
Example
C#
public void FPDFDoc_GetPageMode()
{
    IntPtr doc = Pdfium.FPDF_LoadDocument(@"Files\test001.pdf");
    var mode = Pdfium.FPDFDoc_GetPageMode(doc);
    Pdfium.FPDF_CloseDocument(doc);        
}
See Also