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


IEnumColors.Next Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IE > IEnumColors Interface > IEnumColors.Next Method
ArcGIS Developer Help

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 Retrieve a color ramp from the SymbologyControl