EVO HTML to PDF Converter

DocumentAddElement Method (PageElement, Single, Boolean, Single, Boolean)

EVO PDF Client for .NET Documentation
Adds a PDF page element 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 AddElement(
	PageElement pageElement,
	float xLocation,
	bool relativeXLocation,
	float yLocation,
	bool relativeYLocation
)

Parameters

pageElement
Type: EvoPdf.HtmlToPdfClientPageElement
The page element 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
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
See Also

Reference