ArcObjects Library Reference (Display)  

IMultiPartColorRamp Interface

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
Method AddRamp Adds a color ramp to the list.
Read-only property Color The color at the given index position. Call CreateRamp before calling this method.
Read-only property Colors The list of colors. Call CreateRamp before calling this method.
Method CreateRamp Generates a color ramp with length determined by Size value.
Read/write property Name The name of the color ramp.
Read-only property NumberOfRamps The number of constituent color ramps.
Read/write property Ramp The color ramp at the index position.
Method RemoveRamp Removes the color ramp located at the index position.
Read/write property 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

IRandomColorRamp Interface | IMultiPartColorRamp Interface | IColorRamp.CreateRamp Method | IAlgorithmicColorRamp Interface | IColorRamp.Color Property | IPresetColorRamp Interface | IColorRamp Interface