 | PdfiumFPDFAvail_GetFirstPageNum Method |
Get page number for the first available page in a linearized PDF
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static int FPDFAvail_GetFirstPageNum(
IntPtr document
)
Public Shared Function FPDFAvail_GetFirstPageNum (
document As IntPtr
) As Integer
public:
static int FPDFAvail_GetFirstPageNum(
IntPtr document
)
static member FPDFAvail_GetFirstPageNum :
document : IntPtr -> int
public static int FPDFAvail_GetFirstPageNum(
IntPtr document
)
Patagames.Pdf.Pdfium.FPDFAvail_GetFirstPageNum = function(document);
Parameters
- document IntPtr
- A document handle returned by FPDFAvail_GetDocument(IntPtr, String)
Return Value
Int32Zero-based index for the first available page.
RemarksFor most linearized PDFs, the first available page would be just the first page, however,
some PDFs might make other page to be the first available page.
For non-linearized PDF, this function will always return zero.
See Also