Method SetValue
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
SetValue(string, string)
Sets a field's value: the text of a text field, the chosen export value of a dropdown, list box or radio group,
or the state of a check box (Off, false or empty clears it; anything else ticks it).
public void SetValue(string name, string value)
Parameters
Exceptions
- KeyNotFoundException
There is no field with that name; the message lists the available names.
- ArgumentException
The text is longer than the field's maximum length, or the value is not one of the options of a list box, radio group or non-editable dropdown.
- NotSupportedException
The field is a push button, signature or unknown field.