 | CombTextFieldMaxLength Property |
The maximal text length
When setting this property, the length of this field's text is truncated to the given value.
Namespace: PdfTools.Toolbox.Pdf.FormsAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.3.0+2e7887cb8ae45c4d911ad975ad001ac2f1f257d8
Syntaxpublic int MaxLength { get; set; }Property Value
Int32
Exceptions| 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 smaller than 0 |
See Also