 | 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.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDF_GenerateContentToStream(
IntPtr doc,
IntPtr objList,
IntPtr stream,
IntPtr resDict,
PdfiumGenerateContentCallback callback,
IntPtr userData
)
Public Shared Function FPDF_GenerateContentToStream (
doc As IntPtr,
objList As IntPtr,
stream As IntPtr,
resDict As IntPtr,
callback As PdfiumGenerateContentCallback,
userData As IntPtr
) As Boolean
public:
static bool FPDF_GenerateContentToStream(
IntPtr doc,
IntPtr objList,
IntPtr stream,
IntPtr resDict,
PdfiumGenerateContentCallback^ callback,
IntPtr userData
)
static member FPDF_GenerateContentToStream :
doc : IntPtr *
objList : IntPtr *
stream : IntPtr *
resDict : IntPtr *
callback : PdfiumGenerateContentCallback *
userData : IntPtr -> bool
public static boolean FPDF_GenerateContentToStream(
IntPtr doc,
IntPtr objList,
IntPtr stream,
IntPtr resDict,
PdfiumGenerateContentCallback callback,
IntPtr userData
)
Patagames.Pdf.Pdfium.FPDF_GenerateContentToStream = function(doc, objList, stream, resDict, callback, 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
BooleanTrue if successful, false otherwise. If user cancel generation, return value is TRUE.
See Also