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


IColorElements.Insert Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IC > IColorElements Interface > IColorElements.Insert Method
ArcGIS Developer Help

IColorElements.Insert Method

Add a color element at the specified posiiton.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal index As Integer, _
    ByVal pColor As IColor _
)
[C#]
public void Insert (
    int index,
    IColor pColor
);
[C++]
HRESULT Insert(
  long index,
  IColor* pColor
);
[C++]
Parameters
index [in]

index is a parameter of type long pColor [in]
pColor is a parameter of type IColor*

Product Availability

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

See Also

IColorElements Interface