ArcObjects Library Reference (Carto)  

IRasterRGBRenderer.SetBandIndices Method

Band numbers for red, green, and blue bands.

[Visual Basic .NET]
Public Sub SetBandIndices ( _
    ByVal redIndex As Integer, _
    ByVal greenIndex As Integer, _
    ByVal blueIndex As Integer _
)
[C#]
public void SetBandIndices (
    int redIndex,
    int greenIndex,
    int blueIndex
);
[C++]
HRESULT SetBandIndices(
  long redIndex,
  long greenIndex,
  long blueIndex
);
[C++]

Parameters

redIndex [in]   redIndex is a parameter of type long greenIndex [in]   greenIndex is a parameter of type long blueIndex [in]   blueIndex is a parameter of type long

Product Availability

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

See Also

IRasterRGBRenderer Interface

.NET Samples

Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) |