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


IEnumColors.Next Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

IEnumColors.Next Method

Returns the next color.

[Visual Basic .NET]
Public Function Next ( _
) As IColor
[C#]
public IColor Next (
);
[C++]
HRESULT Next(
void
);

Product Availability

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

Description

Next returns the next color in the IEnumColors object.

See Also

IEnumColors Interface

.NET Samples

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

.NET Related Topics

Defining a renderer for a layer