This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDrawingOutline Interface > IDrawingOutline.HitTest Method (ArcObjects .NET 10.4 SDK) |
Tests if a point is located on the drawing outline.
[Visual Basic .NET] Public Function HitTest ( _ ByVal Geometry As IGeometry, _ ByVal Point As IPoint, _ ByVal tolerance As Double _ ) As Boolean
[C#] public bool HitTest ( IGeometry Geometry, IPoint Point, double tolerance );
[C++]
HRESULT HitTest(
IGeometry* Geometry,
IPoint* Point,
double tolerance,
VARIANT_BOOL* hit
);
[C++]
Parameters Geometry [in]
Geometry is a parameter of type IGeometry 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