THotPDF.GetLoadedFormFieldOptionCount Method
Reads loaded form field option count information from the current AcroForm state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLoadedFormFieldOptionCount(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
- 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