com.esri.arcgis.geodatabase
Interface IRasterDataset2

All Superinterfaces:
IRasterDataset, Serializable
All Known Subinterfaces:
IRasterDataset3
All Known Implementing Classes:
FunctionRasterDataset, RasterDataset

public interface IRasterDataset2
extends IRasterDataset, Serializable

Provides access to members that control a raster dataset.

Superseded By

IRasterDataset3

Product Availability

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


Method Summary
 IRaster createFullRaster()
          Creates a raster containing all bands in this raster dataset.
 IRaster createRaster()
          Creates an empty raster.
 boolean isEmpty()
          Indicates whether the raster dataset is empty.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRasterDataset
canCopy, copy, createDefaultRaster, getCompleteName, getCompressionType, getFormat, getSensorType, precalculateStats
 

Method Detail

createRaster

IRaster createRaster()
                     throws IOException,
                            AutomationException
Creates an empty raster.

Remarks

An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFullRaster

IRaster createFullRaster()
                         throws IOException,
                                AutomationException
Creates a raster containing all bands in this raster dataset.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEmpty

boolean isEmpty()
                throws IOException,
                       AutomationException
Indicates whether the raster dataset is empty.

Remarks

An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.

Co-create a Raster and IRasterDataset2::CreateRaster create an empty raster.

IRasterBandCollection::AppendBands or AppendBand allows you to populate this raster.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The isEmpty
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.