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


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

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