Click or drag to resize

PdfiumFPDFDest_GetPageIndex Method

Get page index of a destination

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static uint FPDFDest_GetPageIndex(
	IntPtr document,
	IntPtr destination
)

Parameters

document  IntPtr
Handle to the document. Returned by FPDF_LoadDocument(String, String), FPDF_LoadMemDocument(Byte, Int32, String) or FPDF_LoadCustomDocument(FPDF_FILEACCESS, String) functions.
destination  IntPtr
Handle to the destination. Returned by FPDFAction_GetDest(IntPtr, IntPtr), FPDFBookmark_GetDest(IntPtr, IntPtr) or FPDFLink_GetDest(IntPtr, IntPtr) functions.

Return Value

UInt32
The page index. Starting from 0 for the first page
See Also