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


IPresetColorRamp.PresetColor Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IP > IPresetColorRamp Interface > IPresetColorRamp.PresetColor Property
ArcGIS Developer Help

IPresetColorRamp.PresetColor Property

The color at the index position.

[Visual Basic .NET]
Public Function get_PresetColor ( _
    ByVal index As Integer _
) As IColor
[Visual Basic .NET]
Public Sub set_PresetColor ( _
    ByVal index As Integer, _
    ByVal Color As IColor _
)
[C#]
public IColor get_PresetColor (
    int index
);
[C#]
public void set_PresetColor (
    int index,
    IColor Color
);
[C++]
HRESULT get_PresetColor(
  long index,
  IColor* Color
);
[C++]
HRESULT put_PresetColor(
  long index,
  IColor** Color
);
[C++]
Parameters
index [in]

index is a parameter of type long Color [in]
Color is a parameter of type IColor* 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

PresetColor is the color in an IPresetColorRamp at the given index.

See Also

IPresetColorRamp Interface | IHlsColor Interface | IGrayColor Interface | IRgbColor Interface | IHsvColor Interface