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

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

IRasterProps.SpatialReference Property

SpatialReference of the Raster.

[Visual Basic .NET]
Public Property SpatialReference As ISpatialReference
public ISpatialReference SpatialReference {get; set;}
HRESULT get_SpatialReference(
  ISpatialReference** ppSpref
HRESULT put_SpatialReference(
  ISpatialReference* ppSpref
ppSpref [out, retval]

ppSpref is a parameter of type ISpatialReference** ppSpref [in]
ppSpref is a parameter of type ISpatialReference*

Product Availability

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

See Also

IRasterProps Interface