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


IAnchorPoint.HitTest Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

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,
  VARIANT_BOOL* hit
);
[C++]

Parameters Point [in]
Point is a parameter of type IPoint tol [in] tol is a parameter of type double hit [out, retval] hit is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IAnchorPoint Interface