LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
OcrZoneRecognitionOptions Enumeration
See Also  
Leadtools.Forms.Ocr Namespace : OcrZoneRecognitionOptions Enumeration



The OcrZoneRecognitionOptions Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Zone checking control options.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
<SerializableAttribute()>
Public Enum OcrZoneRecognitionOptions 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As OcrZoneRecognitionOptions
C# 
[FlagsAttribute()]
[SerializableAttribute()]
public enum OcrZoneRecognitionOptions : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
[SerializableAttribute()]
public enum class OcrZoneRecognitionOptions : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
CorrectProperNamesEnables the correction of words beginning with an uppercase letter inside a sentence (i.e. typically but not always proper names).
DisableCorrectionCorrection done by the IOcrSpellCheckManager is disabled for this zone even if the value of the IOcrSpellCheckManager.Enabled property is set to true.
DisableLanguageDictionaryProhibit the use of the language dictionary in this zone.
DisableUserDictionaryProhibit the use of the user dictionary in this zone.
DisableVerificationProhibit the use of the user-written checking callback OcrSpellCheckCallback for this zone.
IgnoreCaseCase insensitive user dictionary checking for this zone.
IgnoreWhiteSpaceIgnore white space characters (SPACE and TAB characters) during checking of this zone. This field should be used together with the OcrZoneRecognitionOptions.PassEntireLines.
IncludePunctuationPunctuatuation characters will also be considered during checking of this zone.
NoneNo options.
PassEntireLinesInstructs 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.

Example

For an example, refer to IOcrPage.AutoZone.

Remarks

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.Enabled property to true. The application may need to call additional checking functions to configure the checking subsystem properly.

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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.Ocr.OcrZoneRecognitionOptions

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

OcrZoneRecognitionOptions requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features