THotPDF.GetLoadedFormFieldDefaultValue Method

Reads the default value of a loaded field, resolving indirect and inherited /DV entries

Declaration

function GetLoadedFormFieldDefaultValue(FieldIndex: Integer): AnsiString;

Unit

HPDFDoc

Parameters

NamePurpose
FieldIndexZero-based index of the loaded terminal field

Return value

Returns the existing AnsiString representation of a scalar default; a missing field, a missing default or a non-scalar default yields an empty string

Usage notes

Related APIs