←Select platform

Zones Property

Summary

Gets the zones of this IOcrPage.

Syntax

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

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.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly