 | PdfiumFPDFDest_GetPageIndex Method |
Get page index of a destination
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static uint FPDFDest_GetPageIndex(
IntPtr document,
IntPtr destination
)
Public Shared Function FPDFDest_GetPageIndex (
document As IntPtr,
destination As IntPtr
) As UInteger
public:
static unsigned int FPDFDest_GetPageIndex(
IntPtr document,
IntPtr destination
)
static member FPDFDest_GetPageIndex :
document : IntPtr *
destination : IntPtr -> uint32
public static UInt32 FPDFDest_GetPageIndex(
IntPtr document,
IntPtr destination
)
Patagames.Pdf.Pdfium.FPDFDest_GetPageIndex = function(document, 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
UInt32The page index. Starting from 0 for the first page
See Also