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, IList, and IEnumerable 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.