THotPDF.FindLoadedFormFieldByIndex Method
Finds loaded form field by index data in a loaded document. The lookup supports import, page-copy, form, resource, or object-inspection workflows that need to locate existing PDF structures
Declaration
function FindLoadedFormFieldByIndex(FieldIndex: Integer; out EffectiveName: AnsiString): THPDFDictionaryObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | AcroForm field name or field dictionary targeted by the helper |
EffectiveName | PDF resource name, packet name, profile name, or caller-defined identifier |
Return value
Returns a THPDFDictionaryObject value
Usage notes
- Use this API in the AcroForm workflow before the affected page, resource, field, or catalog object is finalised
- 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