LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

HitTest(Rect) Method

Show in webframe





The System.Windows.Rect to be tested.
Retrieves the collection of objects that have boundaries inside a specifiec value.
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
) 

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

See Also

Reference

AnnContainer Class
AnnContainer Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.