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






Windows & Linux

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
MemberValueDescription
eStkGraphicsRasterBandRed0A band containing red values.
eStkGraphicsRasterBandGreen1A band containing green values.
eStkGraphicsRasterBandBlue2A band containing blue values.
eStkGraphicsRasterBandAlpha3A band containing alpha values.
eStkGraphicsRasterBandLuminance4A band containing luminance values.
The RasterBand to test.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.