THotPDF.GetLoadedFormFieldOption Method

Reads loaded form field option 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 GetLoadedFormFieldOption(FieldIndex, OptionIndex: Integer; out AExportValue, ADisplayText: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
FieldIndexAcroForm field name or field dictionary targeted by the helper
OptionIndexZero-based index or object index used to select an existing item
AExportValueInput used by GetLoadedFormFieldOption
ADisplayTextInput used by GetLoadedFormFieldOption

Return value

Returns a boolean value

Usage notes

Related APIs