LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

GetZoneBoundsInPixels Method






The zero-based index of the zone.
Gets the bounding rectangle of a zone in pixels .NET support WinRT support
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
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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-2012 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