Retrieves the object at the specified coordinates.
Public Overloads Function HitTest( _
ByVal testPoint As Point _
) As Leadtools.Windows.Annotations.AnnObject
public:
Leadtools.Windows.Annotations.AnnObject^ HitTest(
Point testPoint
)
testPoint
The System.Windows.Point to be tested.
An AnnObject that represents the object at the given screen coordinates; or null (Nothing in VB) if no object is at the tested location.
testPoint should be in physical coordinates.
If more than one object overlaps underneath the test point, the method will return the object on top of the Z-order.
For C#/VB examples, refer to AnnContainer.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET