←Select platform

NativeOcrZoneRecognitionOptions Enumeration

Summary
Zone checking control options.
Syntax
C#
VB
C++
Java
[SerializableAttribute()] 
[FlagsAttribute()] 
public enum NativeOcrZoneRecognitionOptions 
<FlagsAttribute()> 
<SerializableAttribute()> 
Public Enum NativeOcrZoneRecognitionOptions  
public enum NativeOcrZoneRecognitionOptions 
[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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.