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


IRasterRGBRenderer.QueryBandIndices Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRasterRGBRenderer.QueryBandIndices Method

Band numbers for red, green, and blue bands.

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

Parameters redIndex [out] redIndex is a parameter of type long greenIndex [out] greenIndex is a parameter of type long blueIndex [out] blueIndex is a parameter of type long

Product Availability

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

See Also

IRasterRGBRenderer Interface