com.esri.arcgis.carto
Interface IRasterDiscreteColorRenderer

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterDiscreteColorRenderer

public interface IRasterDiscreteColorRenderer
extends Serializable

Provides access to methods that control a raster discrete color renderer.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


Method Summary
 int getNumColors()
          The number of colors.
 void setColormap(IRasterColormap rhs1)
          The custom colormap.
 void setNumColors(int pNumColors)
          The number of colors.
 

Method Detail

setNumColors

void setNumColors(int pNumColors)
                  throws IOException,
                         AutomationException
The number of colors.

Product Availability

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

Parameters:
pNumColors - The pNumColors (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumColors

int getNumColors()
                 throws IOException,
                        AutomationException
The number of colors.

Product Availability

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

Returns:
The pNumColors
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormap

void setColormap(IRasterColormap rhs1)
                 throws IOException,
                        AutomationException
The custom colormap.

Product Availability

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

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.