THotPDF.GetLoadedFormFieldPageIndex Method
Gets the page index where the form field is located
Declaration
function GetLoadedFormFieldPageIndex(FieldIndex: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | AcroForm field name or field dictionary targeted by the helper |
Return value
Returns an Integer value
Usage notes
- Returns which page of the document the form field lives on
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values