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


IColorRampElements.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 > IColorRampElements Interface > IColorRampElements.Insert Method
ArcGIS Developer Help

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