AGI STK Graphics 11 Send comments on this topic.
HasBand Method (IAgStkGraphicsRasterAttributes)
See Also 
Band
The RasterBand to test.





Description

Gets whether the raster contains the given band.

Syntax

[Visual Basic .NET]
Public Function HasBand( _
   ByVal Band As AgEStkGraphicsRasterBand _
) As Boolean

[C#]
public bool HasBand(
AgEStkGraphicsRasterBand Band
);

[Managed C++]
public: bool HasBand(
AgEStkGraphicsRasterBand Band
);

[Java]
public bool hasBand(
AgEStkGraphicsRasterBand Band
);

[Unmanaged C++]
public: HRESULT HasBand(
AgEStkGraphicsRasterBand Band,
VARIANT_BOOL * ReturnValue
);

Parameters

Band
Member Value Description
eStkGraphicsRasterBandRed 0 A band containing red values.
eStkGraphicsRasterBandGreen 1 A band containing green values.
eStkGraphicsRasterBandBlue 2 A band containing blue values.
eStkGraphicsRasterBandAlpha 3 A band containing alpha values.
eStkGraphicsRasterBandLuminance 4 A band containing luminance values.
The RasterBand to test.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1