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


IRasterDataset2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterDataset2 Interface

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

Product Availability

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

Members

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.

Inherited Interfaces

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

CoClasses that implement IRasterDataset2

CoClasses and 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 default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Create a custom NoData pixel filter (Code Files: TestApp)

.NET Related Topics

DataSourcesRaster | How to access pixel data using a raster cursor | How to georeference a raster using polynomial transformation | How to orthorectify an image | How to project a raster with a datum transformation