This document is archived and information here might be outdated.  Recommended version.


IRasterStretchColorRampRenderer.BandIndex Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterStretchColorRampRenderer Interface > IRasterStretchColorRampRenderer.BandIndex Property
ArcGIS Developer Help

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(
  System.Int32* BandIndex
);
[C++]
Parameters
BandIndex [in]

BandIndex is a parameter of type long BandIndex [out, retval]
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