The Zones Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets the zones of this IOcrPage.Visual Basic (Declaration) | |
---|---|
ReadOnly Property Zones As IOcrZoneCollection |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrPage Dim value As IOcrZoneCollection value = instance.Zones |
C# | |
---|---|
IOcrZoneCollection Zones {get;} |
C++/CLI | |
---|---|
property IOcrZoneCollection^ Zones { IOcrZoneCollection^ get(); } |
Property Value
A Leadtools.Forms.Ocr.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 Leadtools.Forms.Ocr.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.
Leadtools.Forms.Ocr.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 Leadtools.Forms.Ocr.OcrZone structure.
Calling AutoZone will clear the zones of the page before adding the new zones found.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7