Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > OcrZone Structure : ZoneType Property |
public OcrZoneType ZoneType {get; set;}
'Declaration
Public Property ZoneType As OcrZoneType
'Usage
Dim instance As OcrZone Dim value As OcrZoneType instance.ZoneType = value value = instance.ZoneType
public OcrZoneType ZoneType {get; set;}
@property (nonatomic, assign) LTOcrZoneType zoneType
public OcrZoneType getZoneType() public void setZoneType(OcrZoneType value)
<br/>get_ZoneType();<br/>set_ZoneType(value);<br/>Object.defineProperty('ZoneType');
public: property OcrZoneType ZoneType { OcrZoneType get(); void set ( OcrZoneType value); }
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 and OcrZoneType.Graphic, respectively.
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.