←Select platform

Zones Property

Summary

Gets the zones of this IOcrPage.

Syntax
C#
VB
Objective-C
C++
Java
public IOcrZoneCollection Zones { get; } 
ReadOnly Property Zones As IOcrZoneCollection 
@property (nonatomic, strong, readonly) LTOcrZoneCollection *zones 
public OcrZoneCollection getZones() 
property IOcrZoneCollection^ Zones { 
   IOcrZoneCollection^ get(); 
} 

Property Value

A IOcrZoneCollection object that contains the zones of this IOcrPage.

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 ICollection<T>, IList<T>, and IEnumerable<T> 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.

Example

For an example, refer to OcrZone and AutoZone.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly