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


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

IRasterDataset2 Interface

Provides access to members that control a raster dataset. Note: the IRasterDataset2 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.
Method CreateFullRaster Creates a raster containing all bands in this raster dataset.
Method CreateRaster Creates an empty raster.
Read-only property Format The format of this RasterRataset.
Read-only property IsEmpty Indicates whether the raster dataset is empty.
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.

Inherited Interfaces

Interfaces Description
IRasterDataset Provides access to members that control a raster dataset.

Classes that implement IRasterDataset2

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

See Also

IRasterDataset Interface

.NET Samples

Create a custom NoData pixel filter Create a custom default raster catalog renderer