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


IGraphicElements.Insert Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicElements Interface > IGraphicElements.Insert Method
ArcGIS Developer Help

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