LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

StringMaximumLength Property






Gets the maximum number of characters allowed in the value of the string setting. .NET support WinRT support
Syntax
int StringMaximumLength {get;}
'Declaration
 
ReadOnly Property StringMaximumLength As Integer
'Usage
 
Dim instance As IOcrSettingDescriptor
Dim value As Integer
 
value = instance.StringMaximumLength
int StringMaximumLength {get;}
get_StringMaximumLength(); 
property int StringMaximumLength {
   int get();
}

Property Value

Maximum number of characters allowed in the value of the string setting.
Remarks

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.

Example
For an example, refer to IOcrSettingManager.
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

IOcrSettingDescriptor Interface
IOcrSettingDescriptor Members
IOcrSettingManager Interface
OCR engine-specific Settings

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

StringMaximumLength requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features