Leadtools.Forms.Ocr Namespace > IOcrSettingDescriptor Interface : StringMaximumLength Property |
int StringMaximumLength {get;}
'Declaration ReadOnly Property StringMaximumLength As Integer
'Usage Dim instance As IOcrSettingDescriptor Dim value As Integer value = instance.StringMaximumLength
int StringMaximumLength {get;}
@property (nonatomic, assign, readonly) int stringMaximumLength;
public int getStringMaximumLength()
get_StringMaximumLength();
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.