PdfDocumentAddFormField(PdfFormField, Single, Boolean, Single, Boolean) Method

Adds a form field at a given X and Y position in PDF page where the last object was rendered. The position can be absolute in PDF page or relative to last object rendered

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public void AddFormField(
	PdfFormField formField,
	float xPos,
	bool xRelPos,
	float yPos,
	bool yRelPos
)

Parameters

formField  PdfFormField
The form field to be added
xPos  Single
The X position of the object in the PDF page where the last object was rendered
xRelPos  Boolean
If this value is true the X position is relative to the left X coordinate of the last object rendered. If this value is false the X position is absolute in PDF page
yPos  Single
The Y position of the object in the PDF page where the last object was rendered
yRelPos  Boolean
If this value is true the Y position is relative to the bottom Y coordinate of the last object rendered. If this value is false the Y position is absolute in PDF page

See Also