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