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


IRasterUniqueValueRenderer.ClassCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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,
  long pCount
);
[C++]

Parameters iHeading [in] iHeading is a parameter of type long pCount [out, retval] pCount is a parameter of type long iHeading [in] iHeading is a parameter of type long pCount [in] 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 (Code Files: RasterRendererMaker_1bit_TIFF_VBNET)

.NET Related Topics

How to create a raster unique value renderer