Click or drag to resize

PdfiumFPDF_GetPageIndexByDict Method

Get the page index by its dictionary or by the object number of the dictionary.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static int FPDF_GetPageIndexByDict(
	IntPtr document,
	IntPtr dict,
	int objNumber = 0
)

Parameters

document  IntPtr
A handle to the document. Returned by FPDF_LoadDocument(String, String) function.
dict  IntPtr
A handle to the page dictionary. Can be IntPtr.Zero
objNumber  Int32  (Optional)
The object number of page's dictionary. Cannot be omited if dict is not Zero specified.

Return Value

Int32
Zero-based page index or -1 if nothing found.
Remarks
With the simultaneous passing of dict and objNumber, the dict parameter has a precedence over objNumber.
See Also