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.
Product Availability
When To Use
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.
Members
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 that implement IRasterRGBRenderer
CoClasses and Classes | Description |
---|---|
RasterRGBRenderer | A true-color RGB renderer. |
Remarks
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.