ArcObjects Library Reference (Carto)  

IRasterStretchColorRampRenderer.BandIndex Property

Index of the band to be rendered.

[Visual Basic .NET]
Public Property BandIndex As Integer
[C#]
public int BandIndex {get; set;}
[C++]
HRESULT get_BandIndex(
  long* BandIndex
);
[C++]
HRESULT put_BandIndex(
  long BandIndex
);
[C++]

Parameters

BandIndex [out, retval]   BandIndex is a parameter of type long BandIndex [in]   BandIndex is a parameter of type long

Product Availability

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

Remarks

The BandIndex property specifies the band in the raster dataset to be drawn. For single-band data, this should be 0, but with multiband data any band may be selected.

See Also

IRasterStretchColorRampRenderer Interface

.NET Samples

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