PdfDocumentLayout(PdfObject, 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.

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public void Layout(
	PdfObject pdfObject,
	float xPos,
	bool xRelPos,
	bool xRelToLeft,
	float yPos,
	bool yRelPos,
	bool yRelToBottom
)

Parameters

pdfObject  PdfObject
The page element to be added
xPos  Single
The X position of the object in the PDF page where the last object was rendered
xRelPos  Boolean
If this value is true the X position is relative to the left or right X coordinate of the last object rendered, function of the next parameter value. If this value is false the X position is absolute in PDF page
xRelToLeft  Boolean
If this value is true the X position is relative to left X coordinate of the last object rendered. If this value is false the X position is relative to right X coordinate of the last object rendered
yPos  Single
The Y position of the object in the PDF page where the last object was rendered
yRelPos  Boolean
If this value is true the Y position is relative to the bottom or top Y coordinate of the last object rendered, function of the next parameter value. If this value is false the Y position is absolute in PDF page
yRelToBottom  Boolean
If this value is true the Y position is relative to bottom Y coordinate of the last object rendered. If this value is false the Y position is relative to top Y coordinate of the last object rendered

See Also