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
| Name | Purpose |
|---|---|
X | Left position of the text box |
Y | Top position of the text box |
LineSpacing | Line spacing used while laying out text |
BoxWidth | Text box width |
BoxHeight | Text box height |
Text | Unicode text to render |
Align | Horizontal justification mode |
Return value
THPDFTextOutBoxResult with layout and overflow details
Usage notes
- Use this API for Unicode text workflows that need fitting results
- Use THPDFPage.WideTextOutBox for the simpler output-only workflow
Related APIs
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents