ArcObjects Library Reference (Display)  

IDrawingOutline.HitTest Method

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

Product Availability

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

See Also

IDrawingOutline Interface