 | PdfiumFPDFDoc_GetPageMode Method |
Get the document's PageMode(How the document should be displayed when opened)
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static PageModes FPDFDoc_GetPageMode(
IntPtr document
)
Public Shared Function FPDFDoc_GetPageMode (
document As IntPtr
) As PageModes
public:
static PageModes FPDFDoc_GetPageMode(
IntPtr document
)
static member FPDFDoc_GetPageMode :
document : IntPtr -> PageModes
public static PageModes FPDFDoc_GetPageMode(
IntPtr document
)
Patagames.Pdf.Pdfium.FPDFDoc_GetPageMode = function(document);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) function.
Return Value
PageModesThe flags for page mode.
Examplepublic void FPDFDoc_GetPageMode()
{
IntPtr doc = Pdfium.FPDF_LoadDocument(@"Files\test001.pdf");
var mode = Pdfium.FPDFDoc_GetPageMode(doc);
Pdfium.FPDF_CloseDocument(doc);
}
See Also