←Select platform

GetZoneBoundsInPixels Method

Summary

Gets the bounding rectangle of a zone in pixels

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public LeadRect GetZoneBoundsInPixels( 
   int zoneIndex 
) 
Function GetZoneBoundsInPixels( _ 
   ByVal zoneIndex As Integer _ 
) As Leadtools.LeadRect 
Leadtools.LeadRect GetZoneBoundsInPixels(  
   int zoneIndex 
) 
- (LeadRect)zoneBoundsAtIndex:(NSUInteger)index 
public LeadRect getZoneBoundsInPixels(int zoneIndex) 
function Leadtools.Forms.Ocr.IOcrPage.GetZoneBoundsInPixels(  
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly