DocumentAddElement(PageElement, Single, Boolean, Boolean, Single, Boolean, Boolean) Method
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: EvoPdfClientAssembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
public void AddElement(
PageElement pageElement,
float xLocation,
bool relativeXLocation,
bool offsetXFromStart,
float yLocation,
bool relativeYLocation,
bool offsetYFromEnd
)
Public Sub AddElement (
pageElement As PageElement,
xLocation As Single,
relativeXLocation As Boolean,
offsetXFromStart As Boolean,
yLocation As Single,
relativeYLocation As Boolean,
offsetYFromEnd As Boolean
)
Parameters
- pageElement PageElement
- The page element to be added
- xLocation Single
- The X location of the element in the PDF page where the last element rendering ended
- relativeXLocation Boolean
- 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 Boolean
- 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 Single
- The Y location of the element in the PDF page where the last element rendering ended
- relativeYLocation Boolean
- 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 Boolean
- Specifies if the the relative Y location is calculated from the end Y coordinate of last rendered element or from the start Y coordinate