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.
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public void Layout(
PdfObject pdfObject,
float xPos,
bool xRelPos,
bool xRelToLeft,
float yPos,
bool yRelPos,
bool yRelToBottom
)
Public Sub Layout (
pdfObject As PdfObject,
xPos As Single,
xRelPos As Boolean,
xRelToLeft As Boolean,
yPos As Single,
yRelPos As Boolean,
yRelToBottom As Boolean
)
public:
void Layout(
PdfObject^ pdfObject,
float xPos,
bool xRelPos,
bool xRelToLeft,
float yPos,
bool yRelPos,
bool yRelToBottom
)
member Layout :
pdfObject : PdfObject *
xPos : float32 *
xRelPos : bool *
xRelToLeft : bool *
yPos : float32 *
yRelPos : bool *
yRelToBottom : bool -> unit
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