←Select platform

ZoneType Property

Summary

Gets or sets the zone type.

Syntax

C#
VB
Java
WinRT C#
C++
public NativeOcrZoneType ZoneType { get; set; } 
Public Property ZoneType As Leadtools.Forms.Ocr.NativeOcrZoneType 
public Leadtools.Forms.Ocr.NativeOcrZoneType ZoneType {get; set;} 
public NativeOcrZoneType getZoneType() 
public void setZoneType(NativeOcrZoneType value) 
              
 <br/>get_ZoneType();<br/>set_ZoneType(value);<br/>Object.defineProperty('ZoneType');  

Property Value

An NativeOcrZoneType 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 NativeOcrZoneType.Text, NativeOcrZoneType.Table and NativeOcrZoneType.Graphic, respectively.

For flowed text, any of the following text types can appear instead of NativeOcrZoneType.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 NativeOcrZoneType.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 NativeOcrZoneType.Graphic type. If NativeOcrZoneType.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 NativeOcrZoneType to NativeOcrZoneType.Text.

The related NativeOcrZoneType.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 IOcrPage.AutoZone.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly