Provides access to members that control the MultiPartColorRamp. A color ramp defined by a list of constituent color ramps.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
IMultiPartColorRamp provides the framework for concatenating color ramps. After creating a MultiPartColorRamp object, you can add color ramps to it with the AddRamp method. You can add existing algorithmic, preset, random, or even other multipart color ramps. 
A MultiPartColorRamp will try to use an equal number of colors from each member ramp to create its colors. You can check the number of ramps in a MultiPartColorRamp by reading the NumberOfRamps property. 
Members
| Description | ||
|---|---|---|
|  | AddRamp | Adds a color ramp to the list. | 
|  | Color | The color at the given index position. Call CreateRamp before calling this method. | 
|  | Colors | The list of colors. Call CreateRamp before calling this method. | 
|  | CreateRamp | Generates a color ramp with length determined by Size value. | 
|  | Name | The name of the color ramp. | 
|  | NumberOfRamps | The number of constituent color ramps. | 
|  | Ramp | The color ramp at the index position. | 
|  | RemoveRamp | Removes the color ramp located at the index position. | 
|  | Size | The number of colors that will be generated by the CreateRamp method. | 
Inherited Interfaces
| Interfaces | Description | 
|---|---|
| IColorRamp | Provides access to the methods and properties common to all color ramp objects. | 
CoClasses that implement IMultiPartColorRamp
| CoClasses and Classes | Description | 
|---|---|
| MultiPartColorRamp | Defines a multi part color ramp, where ramp is defined by a list of constituent color ramps. | 
See Also
IColorRamp Interface | IMultiPartColorRamp Interface | IColorRamp.CreateRamp Method | IPresetColorRamp Interface | IAlgorithmicColorRamp Interface | IColorRamp.Color Property | IRandomColorRamp Interface