THotPDF.SetLoadedFormFieldNameValuePairs Method
Applies caller-supplied name=value entries to the current loaded AcroForm and returns the number of fields updated
Declaration
function SetLoadedFormFieldNameValuePairs(AValues: TStrings; IgnoreUnknownFields: boolean= False): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AValues | Caller-owned collection containing name=value entries |
IgnoreUnknownFields | True to skip unknown field names or False to raise an exception for the first unknown name |
Return value
Returns the number of fields updated
Usage notes
- Each entry must have a non-empty field name before the first equals sign
- Pass a non-nil TStrings instance owned by the caller