 | PdfiumFPDFPage_GenerateContentEx(IntPtr, IntPtr, PdfiumGenerateContentCallback, IntPtr) Method |
Generate PDF Page content from the specified list of page objects.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFPage_GenerateContentEx(
IntPtr page,
IntPtr objList,
PdfiumGenerateContentCallback callback,
IntPtr userData
)
Public Shared Function FPDFPage_GenerateContentEx (
page As IntPtr,
objList As IntPtr,
callback As PdfiumGenerateContentCallback,
userData As IntPtr
) As Boolean
public:
static bool FPDFPage_GenerateContentEx(
IntPtr page,
IntPtr objList,
PdfiumGenerateContentCallback^ callback,
IntPtr userData
)
static member FPDFPage_GenerateContentEx :
page : IntPtr *
objList : IntPtr *
callback : PdfiumGenerateContentCallback *
userData : IntPtr -> bool
public static boolean FPDFPage_GenerateContentEx(
IntPtr page,
IntPtr objList,
PdfiumGenerateContentCallback callback,
IntPtr userData
)
Patagames.Pdf.Pdfium.FPDFPage_GenerateContentEx = function(page, objList, callback, userData);
Parameters
- page IntPtr
- Handle to a page. Returned by FPDFPage_New(IntPtr, Int32, Double, Double)
- objList IntPtr
- Handle to a list of objects, returned by FPDFPageObj_GetListFromPage(IntPtr) or FPDFPageObj_GetListFromForm(IntPtr). Can be IntPtr.Zero
- 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.
Remarks
If handle to the list object is IntPtr.Zero then the page content will be generated, otherwise the content of the specified list.
You should generate page content before you save or reload it or any changes to page will be lost.
See Also