AGI STK Graphics 11Send 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.
Windows






Windows & Linux

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
[C#]
public IAgStkGraphicsBandOrderFilter InitializeWithOrderAndBool(
   AgEStkGraphicsRasterFormat BandOrder,
   bool MaintainImageFormat
);
[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
MemberValueDescription
eStkGraphicsRasterFormatRed0The format of the Raster is a single band consisting of red values.
eStkGraphicsRasterFormatGreen1The format of the Raster is a single band consisting of green values.
eStkGraphicsRasterFormatBlue2The format of the Raster is a single band consisting of blue values.
eStkGraphicsRasterFormatAlpha3The format of the Raster is a single band consisting of alpha values.
eStkGraphicsRasterFormatRgb4The format of the Raster is three bands consisting of red, green, and blue values.
eStkGraphicsRasterFormatBgr5The format of the Raster is three bands consisting of blue, green, and red values.
eStkGraphicsRasterFormatRgba6The format of the Raster is four bands consisting of red, green, blue, and alpha values.
eStkGraphicsRasterFormatBgra7The format of the Raster is four bands consisting of blue, green, red, and alpha values.
eStkGraphicsRasterFormatLuminance8The format of the Raster is a single band consisting of luminance values.
eStkGraphicsRasterFormatLuminanceAlpha9The 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

© 2018 Analytical Graphics, Inc. All Rights Reserved.