This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterRGBRenderer Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members which control the raster Red/Green/Blue renderer. Note: the IRasterRGBRenderer interface has been superseded byIRasterRGBRenderer2. Please consider using the more recent version.
IRasterRGBRenderer is used to display multiband images. It draws three bands of a raster dataset, one to each of the red, green, and blue channels of the display.
Description | ||
---|---|---|
BlueBandIndex | Band to be represented in blue. | |
GreenBandIndex | Band to be represented in green. | |
QueryBandIndices | Band numbers for red, green, and blue bands. | |
RedBandIndex | Band to be represented in red. | |
SetBandIndices | Band numbers for red, green, and blue bands. | |
UseBlueBand | Indicates if the blue band is used. | |
UseGreenBand | Indicates if the green band is used. | |
UseRedBand | Indicates if the red band is used. |
CoClasses and Classes | Description |
---|---|
RasterRGBRenderer | A true-color RGB renderer. |
The RedBandIndex, BlueBandIndex, and GreenBandIndex properties of this interface control which band is displayed in each display channel.
The the band index is zero based, with a value of zero representing band one, a value of one representing band two, and so on. Each channel can be set to display or not display using the UseRedBand,UseGreenBand, and UseBlueBand properties.
To check or set the band indices for all three bands with one call, use the QueryBandIndices or SetBandIndices functions.