ArcObjects Library Reference (DataSourcesRaster)  

RasterBand Class

A representation of a single band of a raster dataset on disk.

RasterBand is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Description

The RasterBand object represents an existing band of a raster dataset. This band may be the only band in a single raster dataset or one band in a multiband raster dataset.

A RasterBand can be obtained from a RasterDataset or a Raster using IRasterBandCollection::Item.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IClass (esriGeoDatabase) Provides access to members that return information about and manage the class.
IDataset (esriGeoDatabase) Provides access to members that supply dataset information.
IGeoDataset (esriGeoDatabase) Provides access to members that provide information about a Geographic Dataset.
IMetadata (esriGeoDatabase) Provides access to members that manage and update metadata.
IMetadataEdit (esriGeoDatabase) Provides access to members that provide information about whether metadata can be edited.
INativeTypeInfo (esriGeoDatabase) Provides access to the native type.
IObjectClass (esriGeoDatabase) Provides access to members that return information about an object class.
IRasterBand Provides access to members that control a raster band object.
IRasterBandColormap Provides access to members that control the colormap of a raster band.
IRasterBandEdit Provides access to members that control a raster band.
IRasterBandEdit2 Provides access to members that control a raster band.
IRasterDataset (esriGeoDatabase) Provides access to members that control a raster dataset.
IRasterProps Provides access to members that control the most common raster properties.
IRasterPyramid Provides access to members that control the pyramids for a raster dataset.
IRasterTable Provides access to members that control a raster table.
IRasterTransaction Provides access to members that provide undo support.
IRawBlocks Provides access to members that control raw pixel block access.
IRawPixels Provides access to members that control pixel reading and writing from a RasterBand.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.
ITable (esriGeoDatabase) Provides access to members that return information about and manage tables.