ArcObjects Library Reference  (Display)    

IDrawingOutline.HitTest Method

Tests if a point is located on the drawing outline.

[Visual Basic 6.0]
Function HitTest(
    ByVal Geometry As IGeometry, _
    ByVal Point As IPoint, _
    ByVal tolerance As Double _
) As Boolean
[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
);
[Java]
public Boolean hitTest (
    IGeometry Geometry,
    IPoint Point,
    double tolerance
)
throws
    IOException,
    AutomationException
[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