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

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

IRasterRenderer Interface

Provides access to methods that define a generic raster renderer.

Product Availability

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


Name Description
Method CanRender Indicates if the raster can be rendered.
Method Copy Selects a raster as the current copy object.
Read/write property DisplayResolutionFactor Display resolution factor. Factor value is expressed as a percentage between 0 and 100.
Method Draw Draws the raster on the display.
Read/write property Raster Raster to be rendered.
Read/write property ResamplingType Resampling method for displaying a raster.
Method Update Updates the renderer for any changes that have been made.
Read-only property Updated Indicates whether the renderer requires updating.

Classes that implement IRasterRenderer

Classes Description
RasterClassifyColorRampRenderer A renderer with a color ramp for rasters with classified values.
RasterColormapRenderer A raster colormap renderer.
RasterDiscreteColorRenderer A raster discrete color renderer.
RasterRGBRenderer A true-color RGB renderer.
RasterStretchColorRampRenderer A renderer with a color ramp for rasters with continuous values.
RasterUniqueValueRenderer A renderer for rasters with unique values.


The IRasterRenderer interface is used to set a customized renderer to any raster layer.


.NET Samples

Create a custom default raster renderer Create a custom default raster catalog renderer