Click or drag to resize

PdfiumFPDF_FFLDraw Method

Render FormFeilds on a page to a device independent bitmap.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static void FPDF_FFLDraw(
	IntPtr form_handle,
	IntPtr bitmap,
	IntPtr page,
	int start_x,
	int start_y,
	int size_x,
	int size_y,
	PageRotate rotate,
	RenderFlags flags
)

Parameters

form_handle  IntPtr
Handle to the form fill module. Returned by {0} Overload.
bitmap  IntPtr
Handle to the device independent bitmap (as the output buffer). Bitmap handle can be created by FPDFBitmap_Create(Int32, Int32, Boolean) function.
page  IntPtr
Handle to the page. Returned by FPDF_LoadPage(IntPtr, Int32) function.
start_x  Int32
Left pixel position of the display area in the device coordinate.
start_y  Int32
Top pixel position of the display area in the device coordinate.
size_x  Int32
Horizontal size (in pixels) for displaying the page.
size_y  Int32
Vertical size (in pixels) for displaying the page.
rotate  PageRotate
Page orientation: 0 (normal), 1 (rotated 90 degrees clockwise), 2 (rotated 180 degrees), 3 (rotated 90 degrees counter-clockwise).
flags  RenderFlags
0 for normal display, or combination of flags defined above.
Remarks
This method is designed to only render annotations and FormFields on the page. Without FPDF_ANNOT specified for flags, Rendering functions such as FPDF_RenderPageBitmap(IntPtr, IntPtr, Int32, Int32, Int32, Int32, PageRotate, RenderFlags) or FPDF_RenderPageBitmap_Start(IntPtr, IntPtr, Int32, Int32, Int32, Int32, PageRotate, RenderFlags, IFSDK_PAUSE) will only render page contents(without annotations) to a bitmap. In order to implement the FormFill functions,Implementation should call this method after rendering functions finish rendering the page contents.
See Also