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


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

IRasterDef Interface

Provides access to members that control raster column definition.

Product Availability

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

Members

Description
Read/write property Description The raster column description.
Read/write property IsManaged Indicates if the Raster column value is to be managed by GeoDatabase.
Read/write property IsRasterDataset Indicates whether the definition is for RasterDataset.
Read/write property SpatialReference The SpatialReference of the raster.

CoClasses that implement IRasterDef

CoClasses and Classes Description
RasterDef Raster Column Definition Class.

Remarks

The IRasterDef interface provides access to the properties of a raster column in the geodatabase, it allows you to specify the general attributes that apply to the whole raster column.

The Description property allows you to define the descriptive information about the raster column.

The IsManaged property indicates whether the raster column is managed by the geodatabase, if false, the raster column is not managed by the geodatabase but by the file system, which means that deleting or updating the RasterValue will not affect the raster file it references. This property only applies to RasterCatalog in the Personal and File Geodatabases.
 
The SpatialReference property controls the spatial reference of the raster column.  At ArcGIS 9.0, a raster column of a RasterCatalog in the ArcSDE geodatabase does not support spatial reference per raster dataset, so all the raster datasets in the RasterCatalog share the same spatial reference that has been defined for the raster column. For a RasterCatalog in the personal geodatabase, each raster dataset in the RasterCatalog can have its own spatial reference. The spatial reference of the raster column only serves as a default spatial reference for any raster dataset with no spatial reference, or an unknown spatial reference.  At ArcGIS 9.2, we support spatial reference per raster dataset in a raster catalog in any type of geodatabase including Personal, File and ArcSDE geodatabases.

See Also

IRasterDataset Interface | IRasterCatalog Interface

.NET Related Topics

Geodatabase | How to create a raster dataset