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


IRasterDef.SpatialReference Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterDef.SpatialReference Property

The SpatialReference of the raster.

[Visual Basic .NET]
Public Property SpatialReference As ISpatialReference
[C#]
public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** spref
);
[C++]
HRESULT putref_SpatialReference(
  ISpatialReference* spref
);
[C++]

Parameters spref [out, retval]
spref is a parameter of type ISpatialReference spref [in]
spref is a parameter of type ISpatialReference

Product Availability

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

See Also

IRasterDef Interface

.NET Related Topics

Geodatabase | How to create a raster dataset