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


IRasterDefaultsEnv.Query4BandRGB Method (ArcObjects .NET 10.4 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(
  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

IRasterDefaultsEnv Interface