LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

GetZoneBoundsInPixels Method

Show in webframe







The zero-based index of the zone.
Gets the bounding rectangle of a zone in pixels
Syntax
LeadRect GetZoneBoundsInPixels( 
   int zoneIndex
)
'Declaration
 
Function GetZoneBoundsInPixels( _
   ByVal zoneIndex As Integer _
) As LeadRect
'Usage
 
Dim instance As IOcrPage
Dim zoneIndex As Integer
Dim value As LeadRect
 
value = instance.GetZoneBoundsInPixels(zoneIndex)
LeadRect GetZoneBoundsInPixels( 
   int zoneIndex
)
- (LeadRect)getZoneBoundsInPixels:(int)zoneIndex;
public LeadRect getZoneBoundsInPixels(int zoneIndex)
function Leadtools.Forms.Ocr.IOcrPage.GetZoneBoundsInPixels( 
   zoneIndex 
)
LeadRect GetZoneBoundsInPixels( 
   int zoneIndex
) 

Parameters

zoneIndex
The zero-based index of the zone.

Return Value

A Leadtools.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

See Also

Reference

IOcrPage Interface
IOcrPage Members
Recognize Method
IOcrDocument Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with Leadtools .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

GetZoneBoundsInPixels requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features