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


IRasterRGBRenderer.QueryBandIndices Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterRGBRenderer Interface > IRasterRGBRenderer.QueryBandIndices Method
ArcGIS Developer Help

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(
  System.Int32* redIndex,
  System.Int32* greenIndex,
  System.Int32* 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