THotPDF.SetLoadedFormFieldValueByName Method

Sets the current value of an AcroForm form field in the loaded PDF document by field name, suitable when the field name is known

Declaration

procedure SetLoadedFormFieldValueByName(const AFieldName, AValue: AnsiString);

Unit

HPDFDoc

Parameters

NamePurpose
AFieldNameThe complete field name of the target form field (T or hierarchical full name), case-sensitive
AValueThe new value string to write to the V entry of this field

Usage notes

Related APIs