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


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

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

Parameters Point [in]
Point is a parameter of type IPoint tolerance [in] tolerance 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

IGraphicsOutline Interface