 | PdfiumGenerateContentCallback Delegate |
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate bool GenerateContentCallback(
IntPtr userData,
int current,
int total
)
Public Delegate Function GenerateContentCallback (
userData As IntPtr,
current As Integer,
total As Integer
) As Boolean
public delegate bool GenerateContentCallback(
IntPtr userData,
int current,
int total
)
type GenerateContentCallback =
delegate of
userData : IntPtr *
current : int *
total : int -> bool
/** @delegate */
public delegate boolean GenerateContentCallback(
IntPtr userData,
int current,
int total
)
function(userData, current, 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
BooleanTo continue generation, the callback function must return
True; to stop generation, it must return
False.
See Also