LEADTOOLS WCF OCR (Leadtools.Services.Forms.DataContracts assembly)
LEAD Technologies, Inc

ZoneType Property






Gets or sets the zone type.
Syntax
[DataMemberAttribute(Name="ZoneType", IsRequired=true)]
public OcrZoneType ZoneType {get; set;}
'Declaration
 
<DataMemberAttribute(Name="ZoneType", IsRequired=True)>
Public Property ZoneType As OcrZoneType
'Usage
 
Dim instance As OcrZone
Dim value As OcrZoneType
 
instance.ZoneType = value
 
value = instance.ZoneType
[DataMemberAttribute(Name="ZoneType", IsRequired=true)]
public OcrZoneType ZoneType {get; set;}
DataMemberAttribute(Name="ZoneType", IsRequired=)
 get_ZoneType();
set_ZoneType(value);
[DataMemberAttribute(Name="ZoneType", IsRequired=true)]
public:
property OcrZoneType ZoneType {
   OcrZoneType get();
   void set (    OcrZoneType value);
}

Property Value

An OcrZoneType enumeration member that specifies the zone type.
Remarks

The ZoneType property is used to classify the zone into one of the three basic zone-categories: flowed text, table or graphics. To set this, use OcrZoneType.Text, OcrZoneType.Table, OcrZoneType.Graphic, respectively.

For flowed text, any of the following text types can appear instead of OcrZoneType.Text:

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

The OcrZoneType.Table type is for table-type zones. In the case of this type of zone, 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 run on the zone and all other recognition related settings will be ignored.

For horizontal text recognition you can set the OcrZoneType to OcrZoneType.Text.

The related OcrZoneType.AutoGraphic type can appear as the result of the page-layout decomposition (auto-zoning) process, and also signifies a graphic zone.

Example
For an example, refer to DocumentConvertOptions.PagesZones
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

OcrZone Class
OcrZone Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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