FormEditor.SetFieldLimit

FormEditor.SetFieldLimit method

Sets maximum character count of the text field.

public bool SetFieldLimit(string fieldName, int fieldLimit)
ParameterTypeDescription
fieldNameStringName of the text field.
fieldLimitInt32New value of limit for the field.

Return Value

true if field limit was successfully set.

Examples

FormEditor formEditor = new FormEditor("PdfForm.pdf", "FormEditor_SetFieldLimit.pdf");
formEditor.SetFieldLimit("textField", 15);

See Also