![Pdftools logo](../icons/pdftools-icon.png) | 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.FourHeights.PdfToolbox.Pdf.FormsAssembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
Syntaxpublic int MaxLength { get; set; }
Property Value
Int32
ExceptionsException | 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