| GeneralTextFieldMaxLength Property |
The maximal text length
When setting this property to a non-null value, the length of this field's text is truncated.
Namespace: PdfTools.Toolbox.Pdf.FormsAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.4.0+02318d3e3f9645a1305b87026fb971a660079e54
Syntax public int? MaxLength { get; set; }
Property Value
NullableInt32Exceptions Exception | Condition |
---|
InvalidOperationException | if the object has already been closed |
NotSupportedException | [set] if the document is read-only |
InvalidOperationException | [set] if the form field has widgets |
ArgumentException | [set] if the given value is not and is smaller than 0 |
See Also