AGI STK Graphics 11 Send comments on this topic.
InitializeWithOrderAndBool Method (IAgStkGraphicsBandOrderFilterFactory)
See Also 
BandOrder
The Raster Format indicating the desired order of the bands in the source raster.
MaintainImageFormat
true to maintain the source raster's format after swizzling; otherwise, false.





Description

Initializes a new instance with a Raster Format indicating the desired order of the bands in the source raster, and whether to maintain the source raster's format after swizzling.

Syntax

[Visual Basic .NET]
Public Function InitializeWithOrderAndBool( _
   ByVal BandOrder As AgEStkGraphicsRasterFormat, _
   ByVal MaintainImageFormat As Boolean _
) As IAgStkGraphicsBandOrderFilter

[Managed C++]
public: IAgStkGraphicsBandOrderFilter^ InitializeWithOrderAndBool(
AgEStkGraphicsRasterFormat BandOrder,
bool MaintainImageFormat
);

[Java]
public IAgStkGraphicsBandOrderFilter initializeWithOrderAndBool(
AgEStkGraphicsRasterFormat BandOrder,
bool MaintainImageFormat
);

[Unmanaged C++]
public: HRESULT InitializeWithOrderAndBool(
AgEStkGraphicsRasterFormat BandOrder,
VARIANT_BOOL MaintainImageFormat,
IAgStkGraphicsBandOrderFilter ** ReturnValue
);

Parameters

BandOrder
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 indicating the desired order of the bands in the source raster.
MaintainImageFormat
true to maintain the source raster's format after swizzling; otherwise, false.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1