Provides access to members that control a raster dataset.
Members
Name | Description | |
---|---|---|
BasicOpenFromFile | Opens the dataset from file. | |
CanCopy | Returns true if this dataset can be copied. | |
CompleteName | The full path of the RasterDataset. | |
CompressionType | The compression technique applied to this RasterDataset. | |
Copy | Copies this dataset to a new dataset with the specified name. | |
CreateDefaultRaster | Creates a raster object with the default properties for this dataset. | |
CreateFullRaster | Creates a raster containing all bands in this raster dataset. | |
CreateRaster | Creates an empty raster. | |
Format | The format of this RasterRataset. | |
IsEmpty | Indicates whether the raster dataset is empty. | |
OpenFromFile | Attaches dataset to a particular file. | |
PrecalculateStats | Calculates statistics and histograms for specified bands. | |
SensorType | The sensor type used for this RasterDataset. |
IRasterDataset2.CreateFullRaster Method
Creates a raster containing all bands in this raster dataset.
Public Function CreateFullRaster ( _
) As IRaster
public IRaster CreateFullRaster (
);
IRasterDataset2.CreateRaster Method
Creates an empty raster.
Public Function CreateRaster ( _
) As IRaster
public IRaster CreateRaster (
);
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.
IRasterDataset2.IsEmpty Property
Indicates whether the raster dataset is empty.
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty {get;}
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.
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. |