 | PdfiumFPDF_FFLDraw Method |
Render FormFeilds on a page to a device independent bitmap.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic 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
)
Public Shared Sub FPDF_FFLDraw (
form_handle As IntPtr,
bitmap As IntPtr,
page As IntPtr,
start_x As Integer,
start_y As Integer,
size_x As Integer,
size_y As Integer,
rotate As PageRotate,
flags As RenderFlags
)
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
)
static member FPDF_FFLDraw :
form_handle : IntPtr *
bitmap : IntPtr *
page : IntPtr *
start_x : int *
start_y : int *
size_x : int *
size_y : int *
rotate : PageRotate *
flags : RenderFlags -> unit
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
)
Patagames.Pdf.Pdfium.FPDF_FFLDraw = function(form_handle, bitmap, page, start_x, start_y, size_x, size_y, rotate, 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