Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

NativeOcrZoneFillMethod Enumeration








Possible content types of the zones
Syntax
'Declaration
 
<SerializableAttribute()>
Public Enum NativeOcrZoneFillMethod 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As NativeOcrZoneFillMethod
public enum NativeOcrZoneFillMethod
Leadtools.Forms.Ocr.NativeOcrZoneFillMethod = function() { };
Leadtools.Forms.Ocr.NativeOcrZoneFillMethod.prototype = {<br/>
  Default = 0,
	OmniFont = 1,
	Omr = 2,
	Icr = 3,
	DraftDotMatrix9 = 4,
	DraftDotMatrix24 = 5,
	OcrA = 6,
	OcrB = 7,
	Micr = 8,
	DotDigit = 9,
	DashDigit = 10,
	NoRecognition = 11,
	Asian = 12,
	CMC7 = 13,
	
 };
[SerializableAttribute()]
public enum class NativeOcrZoneFillMethod : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
ValueMemberDescription
0Default 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, LogicalUnit zonesUnit, OcrProgressCallback callback) with fillMethod set the zone type desired.
1OmniFont Omnifont zone filling method. It denotes a machine printed text with any typeface which is not too stylized.
2Omr Optical mark zone filling method. It denotes a possible marking within the zone.
3Icr Hand-printed zone filling method.
4DraftDotMatrix9 9-pin draft dot-matrix zone filling method. It denotes a 9-pin draft dot-matrix printout.
5DraftDotMatrix24 24-pin draft dot-matrix zone filling method. It denotes a 24-pin draft dot-matrix printout.
6OcrA OCR-A zone filling method.
7OcrB OCR-B zone filling method.
8Micr Magnetic ink character filling method. Mostly used in bank checks.
9DotDigit Dot-digit zone filling method.
10DashDigit Dash-digit zone filling method.
11NoRecognition No recognition will be attempted.
12Asian The zone contains Asian characters.
13CMC7 CMC7 zone filling method.
Remarks

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.

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

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

Requirements

Target Platforms

See Also

Reference

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

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features