Click or drag to resize

FFI_GetPageCallback Delegate

This method receives the page pointer associated with a specified page index.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public delegate IntPtr FFI_GetPageCallback(
	FPDF_FORMFILLINFO pThis,
	IntPtr document,
	int nPageIndex
)

Parameters

pThis  FPDF_FORMFILLINFO
Pointer to the interface structure itself.
document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) function.
nPageIndex  Int32
Index number of the page. 0 for the first page.

Return Value

IntPtr
Handle to the page. Returned by FPDF_LoadPage(IntPtr, Int32) function.
Remarks
Required: Yes. In some cases, the document-level JavaScript action may refer to a page which hadn't been loaded yet. To successfully run the javascript action, implementation need to load the page for SDK.
See Also