HiQPdf Documentation

PdfDocumentLayout Method (PdfObject, Single, Boolean, Boolean, Single, Boolean, Boolean)

HiQPdf 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:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public void Layout(
	PdfObject pdfObject,
	float xPos,
	bool xRelPos,
	bool xRelToLeft,
	float yPos,
	bool yRelPos,
	bool yRelToBottom
)

Parameters

pdfObject
Type: HiQPdfClientPdfObject
The page element to be added
xPos
Type: SystemSingle
The X position of the object in the PDF page where the last object was rendered
xRelPos
Type: SystemBoolean
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
Type: SystemBoolean
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
Type: SystemSingle
The Y position of the object in the PDF page where the last object was rendered
yRelPos
Type: SystemBoolean
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
Type: SystemBoolean
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

Reference