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

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

IRasterStretch2 Interface

Provides access to members which control stretch.

Product Availability

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


The IRasterStretch2 interface sets pixel information such as statistics and histograms to the raster renderer.


Name Description
Read/write property Background Indicates if a background value is being used.
Read/write property BackgroundColor The color of background.
Read/write property BackgroundValue The list of background value(s).
Read/write property Invert Indicates if the stretch is inverted.
Read/write property SpecificationHistogram The statistics for histogram specification stretch.
Read/write property StandardDeviationsParam The standard deviation parameter for the stretch renderer.
Read/write property StretchStats The global raster stretch statistics.
Read/write property StretchStatsType The current stretch statistics type.
Read/write property StretchType The current stretch type.

Classes that implement IRasterStretch2

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

See Also

IRasterStretch Interface