PDFView4NET WinForms Edition
MaxLength Property




O2S.Components.PDFView4NET.Forms Namespace > PDFTextBoxField Class : MaxLength Property
Gets or sets the max length of the text that can be inserted in the field.
Syntax
'Declaration
 
Public Property MaxLength As Integer
'Usage
 
Dim instance As PDFTextBoxField
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

Maximum amount of text that can be inserted in the text.
Remarks
If this property is 0, then the text length is unlimited.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFTextBoxField Class
PDFTextBoxField Members