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

HitTest(Rect) Method






The System.Windows.Rect to be tested.
Retrieves the collection of objects that have boundaries inside a specifiec value. .NET support Silverlight support
Syntax
public AnnObjectCollection HitTest( 
   Rect testRect
)
'Declaration
 
Public Overloads Function HitTest( _
   ByVal testRect As Rect _
) As AnnObjectCollection
'Usage
 
Dim instance As AnnContainer
Dim testRect As Rect
Dim value As AnnObjectCollection
 
value = instance.HitTest(testRect)
public AnnObjectCollection HitTest( 
   Rect testRect
)
 function Leadtools.Windows.Annotations.AnnContainer.HitTest(Rect)( 
   testRect 
)
public:
AnnObjectCollection^ HitTest( 
   Rect testRect
) 

Parameters

testRect
The System.Windows.Rect to be tested.

Return Value

An AnnObjectCollection that contains the objects that have boundaries inside testRect.
Remarks

testRect should be in physical coordinates.

Example

For C#/VB examples, refer to AnnContainer.

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

AnnContainer Class
AnnContainer Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

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