EVO HTML to PDF Converter

DocumentAddFormField Method (PdfFormField, Single, Boolean, Boolean, Single, Boolean, Boolean)

EVO PDF Client for .NET Documentation
Adds a form field to this document at the given X and Y location in the PDF page where the last element rendering ended. The location can be absolute in PDF page or relative as an offset from the position where the last element rendering ended.

Namespace:  EvoPdf.HtmlToPdfClient
Assembly:  EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax

public void AddFormField(
	PdfFormField formField,
	float xLocation,
	bool relativeXLocation,
	bool offsetXFromStart,
	float yLocation,
	bool relativeYLocation,
	bool offsetYFromEnd
)

Parameters

formField
Type: EvoPdf.HtmlToPdfClientPdfFormField
The form field to be added
xLocation
Type: SystemSingle
The X location of the element in the PDF page where the last element rendering ended
relativeXLocation
Type: SystemBoolean
The X location can be relative to the position where the last element rendering ended or absolute in PDF page where the last element rendering ended
offsetXFromStart
Type: SystemBoolean
Specifies if the the relative X location is calculated from the start X coordinate of last rendered element or from the end X coordinate
yLocation
Type: SystemSingle
The Y location of the element in the PDF page where the last element rendering ended
relativeYLocation
Type: SystemBoolean
The Y location can be relative to the position where the last element rendering ended or absolute in PDF page where the last element rendering ended
offsetYFromEnd
Type: SystemBoolean
Specifies if the the relative Y location is calculated from the end Y coordinate of last rendered element or from the start Y coordinate
See Also

Reference