←Select platform

GetZoneBoundsInPixels Method

Summary

Gets the bounding rectangle of a zone in pixels

Syntax
C#
VB
Objective-C
C++
Java
public LeadRect GetZoneBoundsInPixels( 
   int zoneIndex 
) 
Function GetZoneBoundsInPixels( _ 
   ByVal zoneIndex As Integer _ 
) As LeadRect 
- (LeadRect)zoneBoundsAtIndex:(NSUInteger)index 
public LeadRect getZoneBoundsInPixels(int zoneIndex) 
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.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly