The GetZoneBoundsInPixels Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- zoneIndex
- The zero-based index of the zone.
Visual Basic (Declaration) | |
---|---|
Function GetZoneBoundsInPixels( _ ByVal zoneIndex As Integer _ ) As LeadRect |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrPage Dim zoneIndex As Integer Dim value As LeadRect value = instance.GetZoneBoundsInPixels(zoneIndex) |
Parameters
- zoneIndex
- The zero-based index of the zone.
Return Value
A Leadtools.LeadRect object that contains the zone bounding rectangle in pixels.For an example, refer to HitTestZone.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7