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


IEnumColors Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IE > IEnumColors Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

IEnumColors Interface

Provides access to members that enumerate through Color objects.

Product Availability

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

Description

IEnumColors is an interface for retrieving a sequence of colors, usually generated by an IColorRamp .

Members

Name Description
Method Next Returns the next color.
Method Reset Resets the enumerator to the beginning.

CoClasses that implement IEnumColors

CoClasses and Classes Description

See Also

IColor Interface | ICieLabConversion Interface | ICmykColor Interface | IEnumColors Interface

.NET Samples

Use an AlgorithmicColorRamp to color a ClassBreaksRenderer (Code Files: AlgorithmicColorRamp frmAlgorithmicColorRamp) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)

.NET Related Topics

Defining a renderer for a layer