HiQPdf Documentation

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

HiQPdf Client for .NET Core
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

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public void AddFormField(
	PdfFormField formField,
	float xPos,
	bool xRelPos,
	float yPos,
	bool yRelPos
)

Parameters

formField
Type: HiQPdfClientPdfFormField
The form field to be added
xPos
Type: SystemSingle
The X position of the object in the PDF page where the last object was rendered
xRelPos
Type: SystemBoolean
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
Type: SystemSingle
The Y position of the object in the PDF page where the last object was rendered
yRelPos
Type: SystemBoolean
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

Reference