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


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

IRasterUniqueValueRenderer.ClassCount Property

Number of classes in the specified heading.

[Visual Basic .NET]
Public Function get_ClassCount ( _
    ByVal iHeading As Integer _
) As Integer
[Visual Basic .NET]
Public Sub set_ClassCount ( _
    ByVal iHeading As Integer, _
    ByVal pCount As Integer _
)
[C#]
public int get_ClassCount (
    int iHeading
);
[C#]
public void set_ClassCount (
    int iHeading,
    int pCount
);
[C++]
HRESULT get_ClassCount(
  long iHeading,
  long pCount
);
[C++]
HRESULT put_ClassCount(
  long iHeading,
  System.Int32* pCount
);
[C++]
Parameters
iHeading [in]

iHeading is a parameter of type long pCount [in]
pCount is a parameter of type long iHeading [in]
iHeading is a parameter of type long pCount [out, retval]
pCount is a parameter of type long*

Product Availability

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

See Also

IRasterUniqueValueRenderer Interface

.NET Samples

Create a custom default raster renderer