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