AGI STK Graphics 11 Send comments on this topic.
ExtractBandFromRasterFormat Method (IAgStkGraphicsRaster)
See Also 
Format
The Raster Format associated with the bands to be extracted.
Windows






Windows & Linux

Description

Extracts the bands of raster data associated with the given Raster Format.

Syntax

[Visual Basic .NET]
Public Function ExtractBandFromRasterFormat( _
   ByVal Format As AgEStkGraphicsRasterFormat _
) As IAgStkGraphicsRaster

[C#]
public IAgStkGraphicsRaster ExtractBandFromRasterFormat(
AgEStkGraphicsRasterFormat Format
);

[Managed C++]
public: IAgStkGraphicsRaster^ ExtractBandFromRasterFormat(
AgEStkGraphicsRasterFormat Format
);

[Java]
public IAgStkGraphicsRaster extractBandFromRasterFormat(
AgEStkGraphicsRasterFormat Format
);

[Unmanaged C++]
public: HRESULT ExtractBandFromRasterFormat(
AgEStkGraphicsRasterFormat Format,
IAgStkGraphicsRaster ** ReturnValue
);

Parameters

Format
Member Value Description
eStkGraphicsRasterFormatRed 0 The format of the Raster is a single band consisting of red values.
eStkGraphicsRasterFormatGreen 1 The format of the Raster is a single band consisting of green values.
eStkGraphicsRasterFormatBlue 2 The format of the Raster is a single band consisting of blue values.
eStkGraphicsRasterFormatAlpha 3 The format of the Raster is a single band consisting of alpha values.
eStkGraphicsRasterFormatRgb 4 The format of the Raster is three bands consisting of red, green, and blue values.
eStkGraphicsRasterFormatBgr 5 The format of the Raster is three bands consisting of blue, green, and red values.
eStkGraphicsRasterFormatRgba 6 The format of the Raster is four bands consisting of red, green, blue, and alpha values.
eStkGraphicsRasterFormatBgra 7 The format of the Raster is four bands consisting of blue, green, red, and alpha values.
eStkGraphicsRasterFormatLuminance 8 The format of the Raster is a single band consisting of luminance values.
eStkGraphicsRasterFormatLuminanceAlpha 9 The format of the Raster is two bands consisting of luminance and alpha values.
The Raster Format associated with the bands to be extracted.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface