THPDFPage.GetWideTextWidth Method
Reads wide text width information from the current page drawing state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetWideTextWidth(Text: WideString): Single;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Text | Input used by GetWideTextWidth |
Return value
Returns a Single value
Usage notes
- Use this API in the page drawing 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