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(
  IColor** nextColor
);
[C++]

Parameters

nextColor [out, retval]

  nextColor is a parameter of type IColor

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

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

.NET Related Topics

How to define a renderer for your layer |