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

IColorRamp.Color Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IC > IColorRamp Interface > IColorRamp.Color Property
ArcGIS Developer Help

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
public IColor get_Color (
    int index
HRESULT get_Color(
  long index,
  IColor** Color
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.


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

See Also

IColorRamp Interface