←Select platform

NativeOcrZoneRecognitionOptions Enumeration

Summary

Zone checking control options.

Syntax

C#
VB
Java
WinRT C#
C++
[SerializableAttribute()] 
[FlagsAttribute()] 
public enum NativeOcrZoneRecognitionOptions 
<FlagsAttribute()> 
<SerializableAttribute()> 
Public Enum NativeOcrZoneRecognitionOptions  
    
    
[FlagsAttribute()] 
[SerializableAttribute()] 
public enum NativeOcrZoneRecognitionOptions    
public enum NativeOcrZoneRecognitionOptions 
Leadtools.Forms.Ocr.NativeOcrZoneRecognitionOptions = function() { }; 
Leadtools.Forms.Ocr.NativeOcrZoneRecognitionOptions.prototype = {<br/> 
  None = 0x00000000, 
    DisableLanguageDictionary = 0x00000001, 
    DisableUserDictionary = 0x00000002, 
    DisableVerification = 0x00000004, 
    IgnoreWhiteSpace = 0x00000008, 
    IgnoreCase = 0x00000010, 
    PassEntireLines = 0x00000020, 
    DisableCorrection = 0x00000040, 
    IncludePunctuation = 0x00000080, 
    CorrectProperNames = 0x00000100, 
     
 }; 
[FlagsAttribute()] 
[SerializableAttribute()] 
public enum class NativeOcrZoneRecognitionOptions   

Members

ValueMemberDescription
0x00000000None No options.
0x00000001DisableLanguageDictionary Prohibit the use of the language dictionary in this zone.
0x00000002DisableUserDictionary Prohibit the use of the user dictionary in this zone.
0x00000004DisableVerification Not used by this version of LEADTOOLS.
0x00000008IgnoreWhiteSpace Ignore white space characters (SPACE and TAB characters) during checking of this zone. This field should be used together with the NativeOcrZoneRecognitionOptions.PassEntireLines.
0x00000010IgnoreCase Case insensitive user dictionary checking for this zone.
0x00000020PassEntireLines Instructs the recognition module to pass entire lines to the checker for this zone, instead of words. Do not use this attribute in conjunction with spell checking.
0x00000040DisableCorrection Correction done by the IOcrSpellCheckManager is disabled for this zone.
0x00000080IncludePunctuation Punctuation characters will also be considered during checking of this zone.
0x00000100CorrectProperNames Enables the correction of words beginning with an uppercase letter inside a sentence (i.e. typically but not always proper names).
Remarks

Used with engine-specific zones. For more information, refer to IOcrZoneManager.GetNativeZone and IOcrZoneManager.SetNativeZone.

The accuracy of the recognition for a zone can also be improved by enabling the checking subsystem to run. Enable the checking subsystem by setting the IOcrSpellCheckManager.SpellCheckEngine property to a value other than OcrSpellCheckEngine.None. The application may need to call additional checking functions to configure the checking subsystem properly.

Use the NativeOcrZone.RecognitionOptions property to control how the checking subsystem will check the recognized result for the zone.

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