Winnovative Logo

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

Winnovative Client for .NET Core
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:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public void AddElement(
	PageElement pageElement,
	float xLocation,
	bool relativeXLocation,
	bool offsetXFromStart,
	float yLocation,
	bool relativeYLocation,
	bool offsetYFromEnd
)

Parameters

pageElement
Type: WinnovativeClientPageElement
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
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