LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ZoneType Property
See Also 
Leadtools.Forms.Ocr Namespace > OcrZone Structure : ZoneType Property



The ZoneType Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the zone type.

Syntax

Visual Basic (Declaration) 
Public Property ZoneType As OcrZoneType
Visual Basic (Usage)Copy Code
Dim instance As OcrZone
Dim value As OcrZoneType
 
instance.ZoneType = value
 
value = instance.ZoneType
C# 
public OcrZoneType ZoneType {get; set;}
C++/CLI 
public:
property OcrZoneType ZoneType {
   OcrZoneType get();
   void set (    OcrZoneType value);
}

Property Value

An OcrZoneType enumeration member that specifies the zone type.

Example

For an example, refer to IOcrPage.AutoZone.

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.TableOcrZoneType.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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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