THPDFLoadedFormField.GetBounds Method

Returns the field widget rectangle when available

Declaration

function GetBounds(out ARect: THPDFRect): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
ARectReceives the normalised widget rectangle in PDF user-space units (Left <= Right, Bottom <= Top, consistent with GetLoadedAllPageBoxes)

Return value

True when the widget rectangle was recovered; false when the field offers no usable rectangle

Usage notes

Related APIs