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


IGraphicElements.Insert Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicElements.Insert Method

Add a graphic element at the specified posiiton.

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

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

Product Availability

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

See Also

IGraphicElements Interface