LEADTOOLS WCF OCR (Leadtools.Services.Forms.DataContracts assembly)

OcrZoneType Enumeration

Show in webframe





Zone types.
Syntax
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrZoneType")]
public enum OcrZoneType : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrZoneType")>
Public Enum OcrZoneType 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As OcrZoneType

            

            
[DataContractAttribute(Namespace="http://Leadtools.Services.Forms.DataContracts/2009/01", Name="OcrZoneType")]
public enum class OcrZoneType : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000TextFlowing text type zone.
0x00000001TableTable type zone.
0x00000002GraphicZone containing graphics (Not sure).
0x00000003ColumnColumn type zone.
0x00000004HeaderHeader type zone.
0x00000005FooterFooter type zone.
0x00000006CaptionCaption type zone.
0x00000007TitleTitle type zone.
0x00000008OtherOther zone type.
0x00000009AutoGraphicZone containing graphics (sure).
0x0000000AVerticalTextVertical characters. For Asian characters only.
0x0000000BLeftRotatedTextLeft rotated text (90 degrees counter clockwise). For Latin, Greek and Cyrillic characters only.
0x0000000CRightRotatedTextRight rotated text (90 degrees clockwise). For Latin, Greek and Cyrillic 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, 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.

Example
For an example, refer to DocumentConvertOptions.PagesZones
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.Forms.DataContracts.OcrZoneType

Requirements

Target Platforms

See Also

Reference

Leadtools.Services.Forms.DataContracts Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical