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


IColorRampElements.Insert Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IColorRampElements.Insert Method

Add a ColorRamp element at the specified posiiton.

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

Parameters index [in] index is a parameter of type long pColorRamp [in]
pColorRamp is a parameter of type IColorRamp

Product Availability

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

See Also

IColorRampElements Interface