SetPdfFormFieldValue

Declaration

Delphi

function SetPdfFormFieldValue(const FieldName: WideString; const Value: WideString): WordBool;

ActiveX

HRESULT _stdcall SetPdfFormFieldValue([in] BSTR FieldName, [in] BSTR Value, [out, retval] VARIANT_BOOL* result);

Description

This function sets the value of a PDF document form field. The field name and its current value can be obtained from the XML returned by calling GetPdfFormFieldsXml

Parameters

ParameterDescription
FieldNameName of the field to set the value in
ValueString value to be set