Defines a setting type.
[SerializableAttribute()]
public enum OcrSettingValueType
<SerializableAttribute()>
Public Enum OcrSettingValueType
[SerializableAttribute()]
public enum OcrSettingValueType
typedef NS_ENUM(NSInteger, LTOcrSettingValueType)
public enum OcrSettingValueType
Leadtools.Forms.Ocr.OcrSettingValueType = function() { };
Leadtools.Forms.Ocr.OcrSettingValueType.prototype = {<br/>
BeginCategory = 0,
EndCategory = 1,
Integer = 2,
Enum = 3,
Double = 4,
Boolean = 5,
Character = 6,
String = 7,
Rectangle = 8,
};
[SerializableAttribute()]
public enum class OcrSettingValueType
Members
Value | Member | Description |
---|---|---|
0 | BeginCategory | Beginning of a new category. This setting has no value. |
1 | EndCategory | End of the current category. This setting has no value. |
2 | Integer | An integer setting. |
3 | Enum | An enum setting. |
4 | Double | A double value setting. |
5 | Boolean | A boolean setting (true or false). |
6 | Character | A character (UNICODE) setting. |
7 | String | A string (UNICODE) setting. |
8 | Rectangle | A LogicalRectangle setting. |
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.
For an example, refer to IOcrSettingManager.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET