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


IRasterDiscreteColorRenderer.NumColors Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterDiscreteColorRenderer Interface > IRasterDiscreteColorRenderer.NumColors Property
ArcGIS Developer Help

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(
  System.Int32* pNumColors
);
[C++]
Parameters
pNumColors [in]

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

Product Availability

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

See Also

IRasterDiscreteColorRenderer Interface