THotPDF.GetLoadedFormFieldRect Method

Reads the normalized PDF user-space bounding rectangle of the specified loaded AcroForm field or its first widget annotation.

Declaration

function GetLoadedFormFieldRect(FieldIndex: Integer; out ARect: THPDFRect): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
FieldIndexZero-based index of the loaded AcroForm field.
ARectReceives the normalized PDF user-space rectangle (Left <= Right, Bottom <= Top, matching GetLoadedAllPageBoxes).

Return value

Returns True when a valid four-number /Rect array was found and resolved on the field or its widget child; otherwise False.

Usage notes

Related APIs