SetFieldLimit

FormEditor.SetFieldLimit method

Sets maximum character count of the text field.

public bool SetFieldLimit(string fieldName, int fieldLimit)
Parameter Type Description
fieldName String Name of the text field.
fieldLimit Int32 New 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