THPDFPage.WideTextOutBoxEx Method

Method summary: THPDFPage.WideTextOutBoxEx Method

Declaration

function WideTextOutBoxEx(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: WideString; 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
TextUnicode text to render
AlignHorizontal justification mode

Return value

THPDFTextOutBoxResult with layout and overflow details

Usage notes

Related APIs