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


IColorElements.Insert Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

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