ImageGear .NET - Updated May 30, 2018
MaxLength Property




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > TextField Class : MaxLength Property
Gets or sets the maximum length of the text in the textfield. A value of -1 indicates no specified maximum length.
Note that any length text entries are still accepted. The text is only truncated by most viewer applications during view time.
Syntax
'Declaration
 
Public Property MaxLength As Integer
 
'Usage
 
Dim instance As TextField
Dim value As Integer
 
instance.MaxLength = value
 
value = instance.MaxLength

Property Value

The maximum length of the text.
See Also

Reference

TextField Class
TextField Members