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


IGraphicsContainer.AddElements Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IGraphicsContainer.AddElements Method

Add new graphic elements to the layer.

[Visual Basic .NET]
Public Sub AddElements ( _
    ByVal Elements As IElementCollection, _
    ByVal zorder As Integer _
)
[C#]
public void AddElements (
    IElementCollection Elements,
    int zorder
);
[C++]
HRESULT AddElements(
  IElementCollection* Elements,
  long zorder
);
[C++]

Parameters Elements [in]
Elements is a parameter of type IElementCollection zorder [in] zorder is a parameter of type long

Product Availability

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

See Also

IGraphicsContainer Interface