THotPDF.SetLoadedFormFieldDefaultValue Method

Sets the default value of the loaded PDF form field, which determines the initial content the field should restore to after a reset operation is performed

Declaration

procedure SetLoadedFormFieldDefaultValue(FieldIndex: Integer; const AValue: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
FieldIndexThe zero-based index of the target form field
AValueThe new default value string that will replace the field's original default value

Usage notes

Related APIs