Property MaxLength
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
MaxLength
Gets or sets the maximum number of characters that can be entered into the text box.
public int MaxLength { get; set; }
Property Value
- int
The maximum number of characters that can be entered into the text box.
Remarks
If this property is equal to MaxValue then this text box has no limit for number of characters that can be entered into it.
Setting zero, negative value or value equal to MaxValue removes the limit for number of characters that can be entered into this text box.
Setting non-zero, positive value less than length of existing Text causes a PdfException to be thrown.