Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
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.