THotPDF.SetLoadedFormFieldValueByIndex Method

Sets the current value of an AcroForm form field in the loaded PDF document by field index

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
FieldIndexZero-based index of the target field in the AcroForm field array
AValueThe new value string to write to the V entry of the form field

Usage notes

Related APIs