←Select platform

GetZoneBoundsInPixels Method

Summary

Gets the bounding rectangle of a zone in pixels

Syntax

C#
VB
Java
Objective-C
C++
public LeadRect GetZoneBoundsInPixels( 
   int zoneIndex 
) 
Function GetZoneBoundsInPixels( _ 
   ByVal zoneIndex As Integer _ 
) As Leadtools.LeadRect 
- (LeadRect)zoneBoundsAtIndex:(NSUInteger)index 
public LeadRect getZoneBoundsInPixels(int zoneIndex) 
Leadtools.LeadRect GetZoneBoundsInPixels(  
   int zoneIndex 
)  

Parameters

zoneIndex
The zero-based index of the zone.

Return Value

A LeadRect object that contains the zone bounding rectangle in pixels.

Remarks

This method returns the zone bounding rectangle in pixels based on the zone's OcrZone.Bounds value and this image DPI (DpiX and DpiY). The rectangle value returned is always in top-left coordinates.

Example

For an example, refer to HitTestZone.

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