The OcrZoneRecognitionOptions Enumeration is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Zone checking control options.Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> <SerializableAttribute()> Public Enum OcrZoneRecognitionOptions Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As OcrZoneRecognitionOptions |
C# | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum OcrZoneRecognitionOptions : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] [SerializableAttribute()] public enum class OcrZoneRecognitionOptions : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
CorrectProperNames | Enables the correction of words beginning with an uppercase letter inside a sentence (i.e. typically but not always proper names). |
DisableCorrection | Correction done by the IOcrSpellCheckManager is disabled for this zone even if the value of the IOcrSpellCheckManager.Enabled property is set to true. |
DisableLanguageDictionary | Prohibit the use of the language dictionary in this zone. |
DisableUserDictionary | Prohibit the use of the user dictionary in this zone. |
DisableVerification | Prohibit the use of the user-written checking callback OcrSpellCheckCallback for this zone. |
IgnoreCase | Case insensitive user dictionary checking for this zone. |
IgnoreWhiteSpace | Ignore white space characters (SPACE and TAB characters) during checking of this zone. This field should be used together with the OcrZoneRecognitionOptions.PassEntireLines. |
IncludePunctuation | Punctuatuation characters will also be considered during checking of this zone. |
None | No options. |
PassEntireLines | 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. |
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.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrZoneRecognitionOptions
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7