Click or drag to resize

PdfPageRenderForms Method

Render FormFeilds on a page to a device independent bitmap.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public void RenderForms(
	PdfBitmap bitmap,
	int x,
	int y,
	int width,
	int height,
	PageRotate rotate,
	RenderFlags flags
)

Parameters

bitmap  PdfBitmap
Instance of PdfBitmap class (as the output buffer).
x  Int32
Left pixel position of the display area in the device coordinate.
y  Int32
Top pixel position of the display area in the device coordinate.
width  Int32
Horizontal size (in pixels) for displaying the page.
height  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 Render(PdfBitmap, Int32, Int32, Int32, Int32, PageRotate, RenderFlags) or StartProgressiveRender(PdfBitmap, Int32, Int32, Int32, Int32, PageRotate, RenderFlags, Byte) 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