[SerializableAttribute()]
public enum NativeOcrZoneFillMethod
<SerializableAttribute()>
Public Enum NativeOcrZoneFillMethod
public enum NativeOcrZoneFillMethod
[SerializableAttribute()]
public enum class NativeOcrZoneFillMethod
Value | Member | Description |
---|---|---|
0 | 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, NativeOcrZoneFillMethod fillMethod, OcrProgressCallback callback) with fillMethod set the zone type desired. |
1 | OmniFont | Omnifont zone filling method. It denotes a machine printed text with any typeface which is not too stylized. |
2 | Omr | Optical mark zone filling method. It denotes a possible marking within the zone. |
3 | Icr | Hand-printed zone filling method. |
4 | DraftDotMatrix9 | 9-pin draft dot-matrix zone filling method. It denotes a 9-pin draft dot-matrix printout. |
5 | DraftDotMatrix24 | 24-pin draft dot-matrix zone filling method. It denotes a 24-pin draft dot-matrix printout. |
6 | OcrA | OCR-A zone filling method. |
7 | OcrB | OCR-B zone filling method. |
8 | Micr | Magnetic ink character filling method. Mostly used in bank checks. |
9 | DotDigit | Dot-digit zone filling method. |
10 | DashDigit | Dash-digit zone filling method. |
11 | NoRecognition | No recognition will be attempted. |
12 | Asian | The zone contains Asian characters. |
13 | FieldData | The zone contains field data. |
14 | Cmc7 | CMC7 zone filling method. |
Used with engine-specific zones. For more information, refer to IOcrZoneManager.GetNativeZone and IOcrZoneManager.SetNativeZone.
A fill method must have been assigned to all zones in their NativeOcrZone.FillMethod properties before processing.
Not all fill methods are available to all engines. To determine which fill methods are available use IOcrZoneManager.GetSupportedNativeFillMethods. Trying to set a fill method not available to the engine will cause an error.
Each zone needs to be associated with a NativeOcrZoneRecognitionModule and NativeOcrZoneFillMethod. 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 NativeOcrZoneFillMethod.Default in their NativeOcrZone.FillMethod properties.
For an example, refer to IOcrPage.AutoZone.
NativeOcrZoneRecognitionModule Enumeration
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document