THPDFPage.WideTextOutBoxEx Method
Provides wide text out box ex behaviour 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 WideTextOutBoxEx(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: WideString; Align: THPDFJustificationType): THPDFTextOutBoxResult;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
X | Page coordinate or size value expressed in the current HotPDF coordinate space |
Y | Page coordinate or size value expressed in the current HotPDF coordinate space |
LineSpacing | Input used by WideTextOutBoxEx |
BoxWidth | Input used by WideTextOutBoxEx |
BoxHeight | Input used by WideTextOutBoxEx |
Text | Input used by WideTextOutBoxEx |
Align | Input used by WideTextOutBoxEx |
Return value
Returns a THPDFTextOutBoxResult value
Usage notes
- Use this API in the page geometry workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak