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


IRasterDataset Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterDataset Interface
ArcGIS Developer Help

IRasterDataset Interface

Provides access to members that control a raster dataset. Note: the IRasterDataset interface has been superseded by IRasterDataset3. Please consider using the more recent version.

Product Availability

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

Members

Name Description
Method BasicOpenFromFile Opens the dataset from file.
Method CanCopy Returns true if this dataset can be copied.
Read-only property CompleteName The full path of the RasterDataset.
Read-only property CompressionType The compression technique applied to this RasterDataset.
Method Copy Copies this dataset to a new dataset with the specified name.
Method CreateDefaultRaster Creates a raster object with the default properties for this dataset.
Read-only property Format The format of this RasterRataset.
Method OpenFromFile Attaches dataset to a particular file.
Method PrecalculateStats Calculates statistics and histograms for specified bands.
Read-only property SensorType The sensor type used for this RasterDataset.

Classes that implement IRasterDataset

Classes Description
FunctionRasterDataset (esriDataSourcesRaster) A class for a function raster dataset.
RasterBand (esriDataSourcesRaster) A representation of a single band of a raster dataset on disk.
RasterDataset (esriDataSourcesRaster) A representation of a raster dataset on disk.

Remarks

The IRasterDataset interface provides basic access to the properties of a raster dataset such as format, compression type etc. It also allows to create a Raster object of the raster dataset.

See Also

IRasterPyramid Interface | IRasterPyramid3 Interface | IWorldFileExport Interface | IRasterBandCollection Interface

.NET Samples

Create a Function Raster dataset Create a Math Function Raster dataset Create a Mosaic dataset Create a Raster Function template Create a custom default raster renderer Create a custom default raster catalog renderer Create a custom raster function Create a custom raster function Create a custom raster function Create a custom raster type Create a custom raster type from the ground up for DMCII data Create a custom raster type from the ground up for DMCII data Publish an image service and set configurations Create an NDVI custom raster function Create an NDVI custom raster function Create an NDVI custom raster function