THPDFLoadedFormField.GetBounds Method
Returns the field widget rectangle when available
Declaration
function GetBounds(out ARect: THPDFRect): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ARect | Receives the widget rectangle in PDF user-space units (Left, Top, Right, Bottom) |
Return value
True when the widget rectangle was recovered; false when the field offers no usable rectangle
Usage notes
- Forwards to THotPDF.GetLoadedFormFieldRect
- Combine with PageIndex to build viewer hit testing and field property panels