Leadtools.Forms.Ocr Namespace : OcrZoneFillMethod Enumeration |
[SerializableAttribute()] public enum OcrZoneFillMethod : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <SerializableAttribute()> Public Enum OcrZoneFillMethod Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As OcrZoneFillMethod
[SerializableAttribute()] public enum OcrZoneFillMethod : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.Forms.Ocr.OcrZoneFillMethod = function() { }; Leadtools.Forms.Ocr.OcrZoneFillMethod.prototype = {
LeadtoolsMemberMarker(replace me) };
[SerializableAttribute()] public enum class OcrZoneFillMethod : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Asian | The zone contains Asian characters. |
DashDigit | Dash-digit zone filling method. |
Default | Default 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. |
DotDigit | Dot-digit zone filling method. |
DraftDotMatrix24 | 24-pin draft dot-matrix zone filling method. It denotes a 24-pin draft dot-matrix printout. |
DraftDotMatrix9 | 9-pin draft dot-matrix zone filling method. It denotes a 9-pin draft dot-matrix printout. |
Icr | Handprinted zone filling method. |
Micr | Magnetic ink character filling method. Mostly used in bank checks. |
NoRecognition | No recognition will be attempted. |
OcrA | OCR-A zone filling method. |
OcrB | OCR-B zone filling method. |
OmniFont | Omnifont zone filling method. It denotes a machine printed text with any typeface which is not too stylized. |
Omr | Optical mark zone filling method. It denotes a possible marking within the zone. |
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.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.Ocr.OcrZoneFillMethod
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2