ArcObjects Library Reference (Display)  

IColorRamp.Color Property

The color at the given index position. Call CreateRamp before calling this method.

[Visual Basic .NET]
Public Function get_Color ( _
    ByVal index As Integer _
) As IColor
[C#]
public IColor get_Color (
    int index
);
[C++]
HRESULT get_Color(
  long index,
  IColor** Color
);
[C++]

Parameters

index [in]   index is a parameter of type long Color [out, retval]

  Color is a parameter of type IColor

Product Availability

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

Description

Color is way to get a color at a specific position in a color ramp.

See Also

IColorRamp Interface

.NET Related Topics

How to create a raster classify renderer | How to create a raster unique value renderer |