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


IRasterDef.SpatialReference Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterDef Interface > IRasterDef.SpatialReference Property
ArcGIS Developer Help

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