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

RasterValue Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > R > RasterValue Class
ArcGIS Developer Help

RasterValueClass Class

The Raster Value Class.

Product Availability

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


The RasterValue represents the value of a Raster field, similar to the value of a Geometry field. A RasterValue consists a RasterDataset and its storage properties specified by RasterStorageDef, including tile size, pyramid definition, compression, cellsize and origin. A RasterVaue in an ArcSDE geodatabase consists of a database RasterDataset, while a RasterValue in a personal geodatabase consists a file based RasterDataset.

The RasterValue object is used to set or update a Raster field with a given Raser, RasterDataset or RasterDatasetName. It works the same way for Personal, File and ArcSDE geodatabases, except for a RasterValue stored in a Personal geodatabase since most of the storage properties (tilesize, compression options and pyramids options) are ignored.

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IPersistStream (esriSystem)
IRasterValue Provides access to members that control raster value.
IRasterValue2 Provides access to additional members that control a raster value.

See Also

RasterStorageDef Class | RasterCatalog Class | IRasterCatalogItem Interface