This document is archived and information here might be outdated.  Recommended version.


IGraphicsContainer.LocateElements Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicsContainer.LocateElements Method

Returns the elements at the given coordinate.

[Visual Basic .NET]
Public Function LocateElements ( _
    ByVal point As IPoint, _
    ByVal Tolerance As Double _
) As IEnumElement
[C#]
public IEnumElement LocateElements (
    IPoint point,
    double Tolerance
);
[C++]
HRESULT LocateElements(
  IPoint* point,
  double Tolerance
);
[C++]

Parameters point [in]
point is a parameter of type IPoint* Tolerance [in]
Tolerance is a parameter of type double

Product Availability

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

See Also

IGraphicsContainer Interface