Click or drag to resize

PdfiumFPDF_GenerateContentToStream(IntPtr, IntPtr, IntPtr, IntPtr, PdfiumGenerateContentCallback, IntPtr) Method

Generate stream content from the specified list of object and write it to the stream.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDF_GenerateContentToStream(
	IntPtr doc,
	IntPtr objList,
	IntPtr stream,
	IntPtr resDict,
	PdfiumGenerateContentCallback callback,
	IntPtr userData
)

Parameters

doc  IntPtr
Handle to a document.
objList  IntPtr
Handle to a list of objects, returned by FPDFPageObj_GetListFromPage(IntPtr) or FPDFPageObj_GetListFromForm(IntPtr)
stream  IntPtr
Handle to the Stream object.
resDict  IntPtr
Handle to dictionary, where the rosurces will be generated. If IntPtr.Zero, then resources will be generated to the stream dictionary.
callback  PdfiumGenerateContentCallback
A delegate that represents an application-defined callback function. For more information, see PdfiumGenerateContentCallback
userData  IntPtr
An application-defined data to be passed to the callback function.

Return Value

Boolean
True if successful, false otherwise. If user cancel generation, return value is TRUE.
See Also