←Select platform

StringMaximumLength Property

Summary
Gets the maximum number of characters allowed in the value of the string setting.
Syntax
C#
VB
Objective-C
C++
Java
public int StringMaximumLength { get; } 
ReadOnly Property StringMaximumLength As Integer 
@property (nonatomic, assign, readonly) NSInteger stringMaximumLength 
public int getStringMaximumLength() 
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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.