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


IGraphicElements.Element Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicElements.Element Property

The graphic element at the specified position.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal Index As Integer _
) As IGraphicElement
[C#]
public IGraphicElement get_Element (
    int Index
);
[C++]
HRESULT get_Element(
  long Index,
  IGraphicElement** Element
);
[C++]

Parameters Index [in]
Index is a parameter of type long Element [out, retval]
Element is a parameter of type IGraphicElement**

Product Availability

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

See Also

IGraphicElements Interface