THotPDF.GetLoadedFormFieldOptions Method
Read the effective loaded option array's export values in its existing stored order without mutating the field
Declaration
function GetLoadedFormFieldOptions(FieldIndex: Integer): THPDFAnsiStringArray;
Unit
HPDFDoc
Parameters
FieldIndex is the zero-based loaded-field index
Return value
The array contains raw PDF string payload bytes for each export value; a bare-string option has identical export and display text, whilst a paired option contributes its export member
Use GetLoadedFormFieldOption when both export and display members are needed; do not assume these AnsiString payloads are UTF-8 or normalised text
Usage notes
Readback does not apply ffSort, reorder an existing option array, reconcile /I or /TI, or regenerate appearances
SetLoadedFormFieldOptions performs the explicit flat-option replacement; after a successful replacement the getter reports its final stored order
Loaded rendering also consumes stored order rather than sorting merely because a flag is present