Click or drag to resize

PdfiumGenerateContentCallback Delegate


Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public delegate bool GenerateContentCallback(
	IntPtr userData,
	int current,
	int total
)

Parameters

userData  IntPtr
The application-defined value given in the FPDFPage_GenerateContentEx(IntPtr, IntPtr, PdfiumGenerateContentCallback, IntPtr) or FPDF_GenerateContentToStream(IntPtr, IntPtr, IntPtr, IntPtr, PdfiumGenerateContentCallback, IntPtr) methods.
current  Int32
The sequence number of the object being processed.
total  Int32
The total number of page objects.

Return Value

Boolean
To continue generation, the callback function must return True; to stop generation, it must return False.
See Also