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


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

IRasterStretch Interface

Provides access to members which control contrast stretching. Note: the IRasterStretch interface has been superseded by IRasterStretch2. Please consider using the more recent version.

Product Availability

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

When To Use

The IRasterStretch interface is used to set stretch type for RasterStretchColorRampRenderer or RasterRGBRenderer. It controls how the values in a band are binned for display.

Members

Name Description
Read/write property Background Indicates if a background value is being used.
Read/write property BackgroundColor Background display color.
Read/write property BackgroundValues Indicates whether an array of background values is being used.
Read/write property Invert Indicates if the stretch is inverted.
Read/write property StandardDeviationsParam Standard deviation parameter for the stretch renderer.
Read/write property StretchType Current stretch type.

Classes that implement IRasterStretch

Classes Description
RasterRGBRenderer A true-color RGB renderer.
RasterStretchColorRampRenderer A renderer with a color ramp for rasters with continuous values.