The StringMaximumLength Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets the maximum number of characters allowed in the value of the string setting.Visual Basic (Declaration) | |
---|---|
ReadOnly Property StringMaximumLength As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrSettingDescriptor Dim value As Integer value = instance.StringMaximumLength |
C# | |
---|---|
int StringMaximumLength {get;} |
Property Value
Maximum number of characters allowed in the value of the string setting.You should not pass a string that contain more characters than StringMaximumLength when setting the value of a string setting.
If the string setting has no limit on the number of characters allowed, StringMaximumLength will be set to -1.
This member is only valid if ValueType is OcrSettingValueType.String.
For a list of supported engine-specific settings and their meanings, refer to OCR engine-specific Settings.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7