LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

Bounds Property






Gets the bounds location for the current interactive rectangle mode. .NET support Silverlight support
Syntax
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(); 
public:
property Rect Bounds {
   Rect get();
}

Property Value

The bounds location for the current interactive rectangle mode.
Remarks

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

Example

For C#/VB examples, refer to InteractiveUserRectangle.

Requirements

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

See Also

Reference

RectangleInteractiveEventArgs Class
RectangleInteractiveEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.