Leadtools.Windows.Annotations Namespace > AnnContainer Class > HitTest Method : HitTest(Point) Method |
'Usage Dim instance As AnnContainer Dim testPoint As Point Dim value As AnnObject value = instance.HitTest(testPoint)
function Leadtools.Windows.Annotations.AnnContainer.HitTest(Point)( testPoint )
public: AnnObject^ HitTest( Point testPoint )
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.
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