This document is archived and information here might be outdated.  Recommended version.


IAnchorPoint.HitTest Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IA > IAnchorPoint Interface > IAnchorPoint.HitTest Method
ArcGIS Developer Help

IAnchorPoint.HitTest Method

Check if mouse is over anchor.

[Visual Basic .NET]
Public Function HitTest ( _
    ByVal Point As IPoint, _
    ByVal tol As Double _
) As Boolean
[C#]
public bool HitTest (
    IPoint Point,
    double tol
);
[C++]
HRESULT HitTest(
  IPoint* Point,
  double tol
);
[C++]
Parameters
Point [in]

Point is a parameter of type IPoint* tol [in]
tol is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IAnchorPoint Interface