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


IRasterValue Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterValue Interface

Provides access to members that control raster value. Note: the IRasterValue interface has been superseded byIRasterValue2. Please consider using the more recent version.

Product Availability

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

Members

Description
Read/write property Extent The extent of the raster value.
Read/write property Raster The raster of the raster value.
Read/write property RasterDataset The raster dataset of the raster value.
Read/write property RasterDatasetName The raster dataset name of the raster value.
Read/write property RasterStorageDef The raster storage properties.
Method SetEmptyRasterDataset Sets up the empty raster dataset.

CoClasses that implement IRasterValue

CoClasses and Classes Description
RasterValue The Raster Value Class.

Remarks

The IRasterValue interface provides access to the properties of a RasterValue, it allows you to hook a raster dataset to a RasterValue and store it using the parameters that the RasterStorageDef specifies.

The RasterDataset property provides the access to the raster dataset that is stored in the RasterValue. This is the entry point to load or update raster data in the geodatabase.

The Raster property provides the access to the raster that is stored in the RasterValue. This is another entry point to load or update raster data in the geodatabase.

The RasterDatasetName property provides another way to access the raster data stored in a RasterValue.

The RasterStorageDef property specifies the storage parameters for storing the raster data.

The SetEmptyRasterDataset method creates an empty raster dataset of specified number of bands and data type, so more data can be mosaiced to it later on. The nBands argument specifies the number of bands and the PixelType argument specified the pixeltype of the raster dataset.

See Also

RasterCatalog Class | IRasterCatalogItem Interface | RasterStorageDef Class

.NET Related Topics

DataSourcesRaster | Geodatabase | How to load a raster dataset to the raster field in a feature class