LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

OcrZoneFillMethod Enumeration

Show in webframe







Possible content types of the zones
Syntax
'Declaration
 
<SerializableAttribute()>
Public Enum OcrZoneFillMethod 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As OcrZoneFillMethod
enum LTOcrZoneFillMethod
public enum OcrZoneFillMethod
Leadtools.Forms.Ocr.OcrZoneFillMethod = function() { };
Leadtools.Forms.Ocr.OcrZoneFillMethod.prototype = {
Default = 0x00000000, OmniFont = 0x00000001, Omr = 0x00000002, Icr = 0x00000003, DraftDotMatrix9 = 0x00000004, DraftDotMatrix24 = 0x00000005, OcrA = 0x00000006, OcrB = 0x00000007, Micr = 0x00000008, DotDigit = 0x00000009, DashDigit = 0x0000000A, NoRecognition = 0x0000000B, Asian = 0x0000000C, CMC7 = 0x0000000D, };
[SerializableAttribute()]
public enum class OcrZoneFillMethod : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000DefaultDefault 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.
0x00000001OmniFontOmnifont zone filling method. It denotes a machine printed text with any typeface which is not too stylized.
0x00000002OmrOptical mark zone filling method. It denotes a possible marking within the zone.
0x00000003IcrHandprinted zone filling method.
0x00000004DraftDotMatrix99-pin draft dot-matrix zone filling method. It denotes a 9-pin draft dot-matrix printout.
0x00000005DraftDotMatrix2424-pin draft dot-matrix zone filling method. It denotes a 24-pin draft dot-matrix printout.
0x00000006OcrAOCR-A zone filling method.
0x00000007OcrBOCR-B zone filling method.
0x00000008MicrMagnetic ink character filling method. Mostly used in bank checks.
0x00000009DotDigitDot-digit zone filling method.
0x0000000ADashDigitDash-digit zone filling method.
0x0000000BNoRecognitionNo recognition will be attempted.
0x0000000CAsianThe zone contains Asian characters.
0x0000000DCMC7CMC7 zone filling method.
Remarks

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

Not all fill methods are 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.

Example
For an example, refer to IOcrPage.AutoZone.
Inheritance Hierarchy

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

Requirements

Target Platforms

See Also

Reference

Leadtools.Forms.Ocr Namespace
AutoZone Method
OcrZoneRecognitionModule Enumeration
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR
An Overview of OCR Recognition Modules

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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