Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace : OcrSettingValueType Enumeration |
[SerializableAttribute()] public enum OcrSettingValueType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration
<SerializableAttribute()> Public Enum OcrSettingValueType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As OcrSettingValueType
[SerializableAttribute()] public enum OcrSettingValueType : System.IComparable, System.IConvertible, System.IFormattable
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 : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
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.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrSettingValueType