ArcObjects Library Reference (Carto)  

IRasterRendererClassInfo Interface

Provides access to members which contain info about renderer classes.

Product Availability

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


Read-only property ClassCount Number of classes in the renderer.
Read-only property ClassificationField Classification field name or an empty string if a table doesn't exist.
Read-only property IsNumericClasses Indicates if the classification field is numeric.
Read-only property NormalizationField Normalization field name or an empty string if none.
Method QueryNumberClass Information for a number class by index.
Method QueryStringClass Information for a string class by index.

CoClasses that implement IRasterRendererClassInfo

CoClasses and Classes Description
RasterClassifyColorRampRenderer A renderer with a color ramp for rasters with classified values.
RasterColormapRenderer A raster colormap renderer.
RasterStretchColorRampRenderer A renderer with a color ramp for rasters with continuous values.
RasterUniqueValueRenderer A renderer for rasters with unique values.


While each of the single-band renderers produces different display effects, each at some point must divide the input data into classes. The unique value renderer creates a class for each value, the classified renderer creates an arbitrary number of classes defined by the user, and the stretched renderer divides the input data into 255 classes. The IRasterRendererClassInfo interface provides the ability to read these classes from each renderer through a common mechanism.