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


IRasterRenderer Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterRenderer Interface

Provides access to methods that define a generic raster renderer.

Product Availability

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

Members

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.

CoClasses that implement IRasterRenderer

CoClasses and 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.

Remarks

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

 

.NET Samples

Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET)

.NET Related Topics

How to create a raster classify renderer | How to create a raster layer | How to create a raster stretch renderer | How to create a raster unique value renderer