←Select platform

OcrSettingValueType Enumeration

Summary

Defines a setting type.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[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

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 LogicalRectangle 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly