Click or drag to resize
Pdftools logo

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.Forms
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntax
C#
public int MaxLength { get; set; }

Property Value

Int32
Exceptions
ExceptionCondition
InvalidOperationExceptionif 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