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

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

IRasterStretchColorRampRenderer Interface

Provides access to members that control the color ramp of a contrast stretch.

Product Availability

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

When To Use

The IRasterStretchColorRampRenderer interface controls the display of a raster dataset stretched along a color ramp. It is usually used for visualizing continuous raster data.


Name Description
Read/write property BandIndex Index of the band to be rendered.
Read/write property ColorRamp Color ramp.
Read/write property ColorScheme ColorScheme name.
Read/write property LabelHigh Label for highest value.
Read/write property LabelLow Label for lowest value.
Read/write property LabelMedium Label for medium value.
Method ResetLabels Makes default labels.

Classes that implement IRasterStretchColorRampRenderer

Classes Description
RasterStretchColorRampRenderer A renderer with a color ramp for rasters with continuous values.

.NET Samples

Create a custom default raster catalog renderer