Leadtools.Windows.Controls Namespace > RectangleInteractiveEventArgs Class : Bounds Property |
public Rect Bounds {get;}
'Declaration Public ReadOnly Property Bounds As Rect
'Usage Dim instance As RectangleInteractiveEventArgs Dim value As Rect value = instance.Bounds
public Rect Bounds {get;}
get_Bounds();
The coordinates are always in control (display) to image coordinates. You can use PointToImageCoordinates and BoundsToImageCoordinates to map a value in control or display coordinates (what is on screen) to image coordinates (actual x and y location in the image pixels). You can use PointFromImageCoordinates and BoundsFromImageCoordinates to map a value in image coordinates (actual x and y location in t he image pixels) to control or display coordinates (what is on screen).
For C#/VB examples, refer to InteractiveUserRectangle.
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