PDFView4NET WinForms Edition


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;}

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 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also