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

Show in webframe

NativeOcrZoneType Enumeration








Native zone types.
Syntax
'Declaration
 
<SerializableAttribute()>
Public Enum NativeOcrZoneType 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As NativeOcrZoneType
public enum NativeOcrZoneType
Leadtools.Forms.Ocr.NativeOcrZoneType = function() { };
Leadtools.Forms.Ocr.NativeOcrZoneType.prototype = {<br/>
  Text = 0,
	Table = 1,
	Graphic = 2,
	Column = 3,
	Header = 4,
	Footer = 5,
	Caption = 6,
	Title = 7,
	Other = 8,
	AutoGraphic = 9,
	VerticalText = 10,
	LeftRotatedText = 11,
	RightRotatedText = 12,
	
 };
Members
ValueMemberDescription
0Text Flowing text type zone.
1Table Table type zone.
2Graphic Zone containing graphics (Not sure).
3Column Column type zone.
4Header Header type zone.
5Footer Footer type zone.
6Caption Caption type zone.
7Title Title type zone.
8Other Other zone type.
9AutoGraphic Zone containing graphics (sure).
10VerticalText Vertical characters. For Asian characters only.
11LeftRotatedText Left rotated text (90 degrees counter clockwise). For Latin, Greek and Cyrillic characters only.
12RightRotatedText Right rotated text (90 degrees clockwise). For Latin, Greek and Cyrillic characters only.
Remarks

Used with engine-specific zones. For more information, refer to IOcrZoneManager.GetNativeZone and IOcrZoneManager.SetNativeZone.

The NativeOcrZoneType is used to classify the zone into one of the three basic zone-categories: flowing text, table or graphics. For these, use NativeOcrZoneType.Text, NativeOcrZoneType.Table, and NativeOcrZoneType.Graphic respectively.

For flowing text, any of the following text types can appear instead of NativeOcrZoneType.Text: NativeOcrZoneType.Column, NativeOcrZoneType.Header, NativeOcrZoneType.Footer, NativeOcrZoneType.Caption, NativeOcrZoneType.Title, NativeOcrZoneType.VerticalText, NativeOcrZoneType.LeftRotatedText, NativeOcrZoneType.RightRotatedText or NativeOcrZoneType.Other.

One of these values is typically created by the page-layout decomposition (auto-zoning) process of the page (see IOcrPage.AutoZone), however they have the same meaning for the recognition algorithms: the zone contains flowing text.

The NativeOcrZoneType.Table type is for table-type zones. In this type of zone is specified, the OCR engine will try to reconstruct the original table text layout of the zone in the final output document.

For graphic zones use the NativeOcrZoneType.Graphic type. If NativeOcrZoneType.Graphic is specified, no recognition will be run on the zone and all other recognition related settings will be ignored. The related NativeOcrZoneType.AutoGraphic type can appear as the result of the page-layout decomposition (auto-zoning) process, and also signifies a graphic zone. The difference is, NativeOcrZoneType.Graphic is the type that you as the user set in the zone to denote a graphic zone that contain no text, NativeOcrZoneType.AutoGraphic is the type set by the engine during auto-zoning.

Each OCR engine supports different type of zones. To get the type of zones supported by the engine, use IOcrZoneManager.GetSupportedZoneTypes. Trying to set a zone type that is not supported by the engine will cause an error.

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

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

Requirements

Target Platforms

See Also

Reference

Leadtools.Forms.Ocr Namespace
AutoZone Method
OcrEngineManager Class
OcrEngineType Enumeration
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR

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