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



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

Possible content types of the zones

Syntax

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

Members

MemberDescription
AsianThe zone contains Asian characters.
DashDigitDash-digit zone filling method.
DefaultDefault zone filling method. The IOcrPage.AutoZone(OcrProgressCallback callback) method will set all the fill method of the zones found to this value. You can set the zone filling method to another type by using IOcrPage.AutoZone(OcrZoneParser zoneParser, OcrZoneFillMethod fillMethod, LogicalUnit zonesUnit, OcrProgressCallback callback) with fillMethod set the zone type desired.
DotDigitDot-digit zone filling method.
DraftDotMatrix2424-pin draft dot-matrix zone filling method. It denotes a 24-pin draft dot-matrix printout.
DraftDotMatrix99-pin draft dot-matrix zone filling method. It denotes a 9-pin draft dot-matrix printout.
IcrHandprinted zone filling method.
MicrMagnetic ink character filling method. Mostly used in bank checks.
NoRecognitionNo recognition will be attempted.
OcrAOCR-A zone filling method.
OcrBOCR-B zone filling method.
OmniFontOmnifont zone filling method. It denotes a machine printed text with any typeface which is not too stylized.
OmrOptical mark zone filling method. It denotes a possible marking within the zone.

Example

For an example, refer to IOcrPage.AutoZone.

Remarks

A fill method must have been assigned to all zones in their OcrZone.FillMethod properties before processing.

Not all fill methods ara available to all engines. To determine which fill methods are available use IOcrZoneManager.GetSupportedFillMethods. Trying to set a fill method not available to the engine will cause an error.

Each zone needs to be associated with a OcrZoneRecognitionModule and OcrZoneFillMethod. This is needed because some recognition modules support more than one fill method, and some fill methods are accepted by more than one recognition module.

It is important to ensure that the recognition module/fill method pair is suitable. For more information on permitted recognition module/fill method pairs refer to An Overview of OCR Recognition Modules.

Note that the auto-zoning IOcrPage.AutoZone will create the zones with the value OcrZoneFillMethod.Default in their OcrZone.FillMethod properties.

Inheritance Hierarchy

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

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

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