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;}
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2