ImageGear PDF v25.2 - Updated
MaxLength Property




ImageGear.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
public int MaxLength {get; set;}
public: __property int get_MaxLength();
public: __property void set_MaxLength( 
   int value
);
public:
property int MaxLength {
   int get();
   void set (    int value);
}

Property Value

The maximum length of the text.
See Also

Reference

TextField Class
TextField Members

Is this page helpful?
Yes No
Thanks for your feedback.