Form.GetFieldLimit

Form.GetFieldLimit method

Get the limitation of text field.

public int GetFieldLimit(string fieldName)
ParameterTypeDescription
fieldNameStringThe qualified field name.

Return Value

Return the limitation number of characters a text field can be filled. It not set, return 0.

Examples

Form form = new Form("PdfForm.pdf");
Console.WriteLine(form.GetFieldLimit("textfieldBox"));

See Also