ArcObjects Library Reference (DefenseSolutions)  

ICachedGraphic.HitTest Method

Determines if the specified location hits the graphic.

[Visual Basic .NET]
Public Function HitTest ( _
    ByVal x As Double, _
    ByVal y As Double, _
    ByVal Tolerance As Double _
) As Boolean
[C#]
public bool HitTest (
    double x,
    double y,
    double Tolerance
);
[C++]
HRESULT HitTest(
  double x,
  double y,
  double Tolerance,
  VARIANT_BOOL* __MIDL__ICachedGraphic0000
);
[C++]

Parameters

x [in]   x is a parameter of type double y [in]   y is a parameter of type double Tolerance [in]   Tolerance is a parameter of type double __MIDL__ICachedGraphic0000 [out, retval]   __MIDL__ICachedGraphic0000 is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

See Also

ICachedGraphic Interface