 | PdfiumFPDF_GetPageIndexByDict Method |
Get the page index by its dictionary or by the object number of the dictionary.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static int FPDF_GetPageIndexByDict(
IntPtr document,
IntPtr dict,
int objNumber = 0
)
Public Shared Function FPDF_GetPageIndexByDict (
document As IntPtr,
dict As IntPtr,
Optional objNumber As Integer = 0
) As Integer
public:
static int FPDF_GetPageIndexByDict(
IntPtr document,
IntPtr dict,
int objNumber = 0
)
static member FPDF_GetPageIndexByDict :
document : IntPtr *
dict : IntPtr *
?objNumber : int
(* Defaults:
let _objNumber = defaultArg objNumber 0
*)
-> int
public static int FPDF_GetPageIndexByDict(
IntPtr document,
IntPtr dict,
int objNumber = 0
)
Patagames.Pdf.Pdfium.FPDF_GetPageIndexByDict = function(document, dict, objNumber);
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
Int32Zero-based page index or -1 if nothing found.
RemarksWith the simultaneous passing of dict and objNumber, the dict parameter has a precedence over objNumber.
See Also