LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

OcrZoneType Enumeration






Zone types. .NET support WinRT support
Syntax
'Declaration
 
<SerializableAttribute()>
Public Enum OcrZoneType 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As OcrZoneType
Leadtools.Forms.Ocr.OcrZoneType = function() { };
Leadtools.Forms.Ocr.OcrZoneType.prototype = {
LeadtoolsMemberMarker(replace me) };
Members
MemberDescription
AutoGraphicZone containing graphics (sure).
CaptionCaption type zone.
ColumnColumn type zone.
FooterFooter type zone.
GraphicZone containing graphics (Not sure).
HeaderHeader type zone.
LeftRotatedTextLeft rotated text (90 degrees counter clockwise). For Latin, Greek and Cyrillic characters only.
OtherOther zone type.
RightRotatedTextRight rotated text (90 degrees clockwise). For Latin, Greek and Cyrillic characters only.
TableTable type zone.
TextFlowing text type zone.
TitleTitle type zone.
VerticalTextVertical characters. For Asian characters only.
Remarks

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

For flowing text, any of the following text types can appear instead of OcrZoneType.Text: OcrZoneType.Column, OcrZoneType.Header, OcrZoneType.Footer, OcrZoneType.Caption, OcrZoneType.Title, OcrZoneType.VerticalText, OcrZoneType.LeftRotatedText, OcrZoneType.RightRotatedText or OcrZoneType.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 OcrZoneType.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 OcrZoneType.Graphic type. If OcrZoneType.Graphic is specified, no recognition will be run on the zone and all other recognition related settings will be ignored. The related OcrZoneType.AutoGraphic type can appear as the result of the page-layout decomposition (auto-zoning) process, and also signifies a graphic zone. The difference is, OcrZoneType.Graphic is the type that you as the user set in the zone to denote a graphic zone that contain no text, OcrZoneType.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.OcrZoneType

Requirements

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

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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