THPDFLoadedFormField.GetBounds Method

Returns the field widget rectangle when available

Declaration

function GetBounds(out ARect: THPDFRect): boolean;

Unit

HPDFDoc

Parameters

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

Return value

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

Usage notes

Related APIs