←Select platform

OcrSettingValueType Enumeration

Summary

Defines a setting type.

Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
public enum OcrSettingValueType   
<SerializableAttribute()> 
Public Enum OcrSettingValueType  
typedef NS_ENUM(NSInteger, LTOcrSettingValueType) 
public enum OcrSettingValueType 
[SerializableAttribute()] 
public enum class OcrSettingValueType   

Members
ValueMemberDescription
0BeginCategory Beginning of a new category. This setting has no value.
1EndCategory End of the current category. This setting has no value.
2Integer An integer setting.
3Enum An enum setting.
4Double A double value setting.
5Boolean A boolean setting (true or false).
6Character A character (UNICODE) setting.
7String A string (UNICODE) setting.
8Rectangle A LeadRect setting.

Remarks

IOcrEngine is a wrapper for different OCR engines. These engines contain specific additional features and functionalities that can be queried and updated using the IOcrSettingManager interface.

You can use the different methods of the IOcrSettingManager interface to get and set the engine-specific settings. Each setting has a unique name (a string value). Get all of the available settings for the current OCR engine by calling the IOcrSettingManager.GetSettingNames method. The IOcrSettingManager.GetSettingDescriptor method returns a description of the setting (its type, friendly name and value range). You can then use the various get and set methods to query and change the value of a specific setting. For example, if the setting type is OcrSettingValueType.Integer, use the IOcrSettingManager.GetIntegerValue method to get the current value of the setting and the IOcrSettingManager.SetIntegerValue method to change its value. Refer to IOcrSettingManager for a complete example.

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly