|
SetFormFieldValueByIndex Method |
Top Previous Next |
|
The SetFormFieldValueByIndex method sets the value to the specified form field.
Syntax
Parameters
FieldNo [in] Specifies index of the form field in the PDF document to which the value needs to be set.
Values [in] Specifies value of the form field that needs to be set.
Exceptions Raised
If the field corresponding to the Name provided does not exist, an EFieldNotFound exception is thrown.
If a field is Read-0nly type, then EFormFieldReadOnly exception is thrown.
If an invalid value is provided for a field, then EInvalidFieldValue exception is thrown.
ENoAcroFields exception is thrown if the document does not contain any AcroForm Fields.
If, due to any other reason, a field value could not be set, EAcroFormError exception is thrown.
|