Zone types.
Members
Value | Member | Description |
---|---|---|
0 | Text | Flowing text type zone. |
1 | Table | Table type zone. |
2 | Graphic | Zone containing graphics (Not sure). |
3 | Column | Column type zone. |
4 | Header | Header type zone. |
5 | Footer | Footer type zone. |
6 | Caption | Caption type zone. |
7 | Title | Title type zone. |
8 | Other | Other zone type. |
9 | AutoGraphic | Zone containing graphics (sure). |
10 | VerticalText | Vertical characters. For Asian characters only. |
11 | LeftRotatedText | Left rotated text (90 degrees counter clockwise). For Latin, Greek and Cyrillic characters only. |
12 | RightRotatedText | Right rotated text (90 degrees clockwise). For Latin, Greek and Cyrillic characters only. |
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.
For an example, refer to DocumentConvertOptions.PagesZones
Products |
Support |
Feedback: OcrZoneType Enumeration - Leadtools.Services.Forms.DataContracts |
Introduction |
Help Version 19.0.2017.3.22
|