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


IRasterDiscreteColorRenderer.NumColors Property (ArcObjects .NET 10.4 SDK)
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