Interface IRasterDataset
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that control a raster dataset.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("7ACA3D01-0629-11D2-8D24-0000F8780535")]
public interface IRasterDataset
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.
Properties
CompleteName
The full path of the RasterDataset.
string CompleteName { get; }
Property Value
CompressionType
The compression technique applied to this RasterDataset.
string CompressionType { get; }
Property Value
Format
The format of this RasterRataset.
string Format { get; }
Property Value
SensorType
The sensor type used for this RasterDataset.
string SensorType { get; }
Property Value
Methods
BasicOpenFromFile(string)
Opens the dataset from file.
void BasicOpenFromFile(string Path)
Parameters
Pathstring
CanCopy()
Returns true if this dataset can be copied.
bool CanCopy()
Returns
Copy(string, IWorkspace)
Copies this dataset to a new dataset with the specified name.
IDataset Copy(string copyName, IWorkspace copyWorkspace)
Parameters
copyNamestringcopyWorkspaceIWorkspace
Returns
CreateDefaultRaster()
Creates a raster object with the default properties for this dataset.
IRaster CreateDefaultRaster()
Returns
Remarks
The CreateDefaultRaster method creates a Raster that has a square cell size and contains only three raster bands if the dataset has more than three bands. The three bands are the default bands used in raster RGB renderer and are determined by the settings for default raster behavior made on the RasterDefaultsEnv object in esriCarto library.
OpenFromFile(string)
Attaches dataset to a particular file.
void OpenFromFile(string Path)
Parameters
Pathstring
PrecalculateStats(object)
Calculates statistics and histograms for specified bands.
void PrecalculateStats(object index_list)
Parameters
index_listobject