Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Zones Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : Zones Property



Gets the zones of this IOcrPage.

Syntax

Visual Basic (Declaration) 
Overridable ReadOnly Property Zones As IOcrZoneCollection
Visual Basic (Usage)Copy Code
Dim instance As IOcrPage
Dim value As IOcrZoneCollection
 
value = instance.Zones
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.

Example

For an example, refer to 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 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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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