ArcObjects Library Reference (Carto)  

IRasterDiscreteColorRenderer.NumColors Property

The number of colors.

[Visual Basic .NET]
Public Property NumColors As Integer
[C#]
public int NumColors {get; set;}
[C++]
HRESULT get_NumColors(
  long* pNumColors
);
[C++]
HRESULT put_NumColors(
  long pNumColors
);
[C++]

Parameters

pNumColors [out, retval]   pNumColors is a parameter of type long pNumColors [in]   pNumColors is a parameter of type long

Product Availability

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

See Also

IRasterDiscreteColorRenderer Interface