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,
  IEnumElement** Elements
);
[C++]

Parameters

point [in]

  point is a parameter of type IPoint

Tolerance [in]   Tolerance is a parameter of type double Elements [out, retval]

  Elements is a parameter of type IEnumElement

Product Availability

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

See Also

IGraphicsContainer Interface

.NET Samples

Using MOLE symbol-based graphics with interactive maps (Code Files: MainForm) |