ArcObjects Library Reference (Carto)  

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.


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.

CoClasses that implement IRasterStretch2

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