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


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

IGraphicsOutline.HitTest Method

Tests if a point is located on the graphics outline.

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

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

Product Availability

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

See Also

IGraphicsOutline Interface