This document is archived and information here might be outdated.  Recommended version.


IRasterBandCollection.AppendBand Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterBandCollection.AppendBand Method

Appends a RasterBand to the band collection.

[Visual Basic .NET]
Public Sub AppendBand ( _
    ByVal Element As IRasterBand _
)
[C#]
public void AppendBand (
    IRasterBand Element
);
[C++]
HRESULT AppendBand(
  IRasterBand* Element
);
[C++]

Parameters Element [in]
Element is a parameter of type IRasterBand*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

See Also

IRasterBandCollection Interface

.NET Snippets

Create LocalOp Combine Raster

.NET Related Topics

How to pan sharpen an image