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


IRasterDefaultsEnv.Query4BandRGB Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IRasterDefaultsEnv.Query4BandRGB Method

Default zero indexed bands for a 4 or more band raster.

[Visual Basic .NET]
Public Sub Query4BandRGB ( _
    ByRef redIndex As Integer, _
    ByRef greenIndex As Integer, _
    ByRef blueIndex As Integer _
)
[C#]
public void Query4BandRGB (
    ref int redIndex,
    ref int greenIndex,
    ref int blueIndex
);
[C++]
HRESULT Query4BandRGB(
  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

IRasterDefaultsEnv Interface