THPDFPage.TextBox Method
Provides text box 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
procedure TextBox(Rect: TRect; Text: AnsiString; Hor: THPDFJustificationType= jtLeft; Vert: THPDFTextBoxVerticalAlignment= tbvaTop);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Rect | Page area or widget rectangle where the operation is applied |
Text | Input used by TextBox |
Hor | Input used by TextBox |
Vert | Input used by TextBox |
Return value
This member does not return a 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