THPDFPage.TextOutBox Method

Provides the TextOutBox behavior for the page geometry workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function TextOutBox(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: AnsiString; Align: THPDFJustificationType): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
XPage coordinate or size value expressed in the current HotPDF coordinate space
YPage coordinate or size value expressed in the current HotPDF coordinate space
LineSpacingInput used by TextOutBox
BoxWidthInput used by TextOutBox
BoxHeightInput used by TextOutBox
TextInput used by TextOutBox
AlignInput used by TextOutBox

Return value

Returns an Integer value

Usage notes

Related APIs