Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetZoneBoundsInPixels Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : GetZoneBoundsInPixels Method



zoneIndex
The zero-based index of the zone.
zoneIndex
The zero-based index of the zone.
Gets the bounding rectangle of a zone in pixels

Syntax

Visual Basic (Declaration) 
Overridable Function GetZoneBoundsInPixels( _
   ByVal zoneIndex As Integer _
) As RectangleF
Visual Basic (Usage)Copy Code
Dim instance As IOcrPage
Dim zoneIndex As Integer
Dim value As RectangleF
 
value = instance.GetZoneBoundsInPixels(zoneIndex)
C# 
virtual RectangleF GetZoneBoundsInPixels( 
   int zoneIndex
)
C++/CLI 
virtual RectangleF GetZoneBoundsInPixels( 
   int zoneIndex
) 

Parameters

zoneIndex
The zero-based index of the zone.

Return Value

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

Example

For an example, refer to HitTestZone.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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