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 > IOcrPage Interface : Zones Property |
IOcrZoneCollection Zones {get;}
'Declaration
ReadOnly Property Zones As IOcrZoneCollection
'Usage
Dim instance As IOcrPage Dim value As IOcrZoneCollection value = instance.Zones
IOcrZoneCollection Zones {get;}
@property (nonatomic, strong, readonly) LTOcrZoneCollection *zones
public OcrZoneCollection getZones()
get_Zones();
property IOcrZoneCollection^ Zones { IOcrZoneCollection^ get(); }
An OCR zone is a rectangular area on a page containing a feature of interest to the user
Each IOcrPage object contains one instance of the IOcrZoneCollection interface. Zones will contain all the zones added to the page either manually through the IOcrZoneCollection.Add or IOcrZoneCollection.Insert methods or the zones automatically generated with the AutoZone method.
IOcrZoneCollection interface implements standard .NET ICollection`1, IList`1, and IEnumerable`1 interfaces and hence, you can use the member of these interfaces to add, remove, get, set and iterate through the different zones of this page.
Each zone is defined by the OcrZone structure.
Calling AutoZone will clear the zones of the page before adding the new zones found.