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
[C#]
public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** ppSpref
);
[C++]
HRESULT put_SpatialReference(
  ISpatialReference* ppSpref
);
[C++]
Parameters
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