LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Zones Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : Zones Property



The Zones Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets the zones of this IOcrPage.

Syntax

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.

Example

For an example, refer to Leadtools.Forms.Ocr.OcrZone and AutoZone.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Zones requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features