FormEditorSetFieldLimit Method
Sets maximum character count of the text field.

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
Syntax
public bool SetFieldLimit(
	string fieldName,
	int fieldLimit
)

Parameters

fieldName
Type: SystemString
Name of the text field.
fieldLimit
Type: SystemInt32
New value of limit for the field.

Return Value

Type: Boolean
true if field limit was successfully set.
Examples
C#
FormEditor formEditor = new FormEditor("PdfForm.pdf", "FormEditor_SetFieldLimit.pdf");
formEditor.SetFieldLimit("textField", 15);
See Also