Visual Basic (Declaration) | |
---|---|
Overridable ReadOnly Property Zones As IOcrZoneCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
virtual IOcrZoneCollection Zones {get;} |
C++/CLI | |
---|---|
virtual property IOcrZoneCollection^ Zones { IOcrZoneCollection^ get(); } |
Return Value
A IOcrZoneCollection object that contains the zones of this IOcrPage.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 Generic ICollection, Generic IList, and Generic 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family