This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IA > IAnchorPoint Interface > IAnchorPoint.HitTest Method (ArcObjects .NET 10.4 SDK) |
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