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