THPDFPage.TextOutBoxEx Method

Method summary: THPDFPage.TextOutBoxEx Method

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
XLeft position of the text box
YTop position of the text box
LineSpacingLine spacing used while laying out text
BoxWidthText box width
BoxHeightText box height
TextANSI text to render
AlignHorizontal justification mode

Return value

THPDFTextOutBoxResult with layout and overflow details

Usage notes

Related APIs