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


IRasterProps.SpatialReference Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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

.NET Related Topics

DataSourcesRaster | Geodatabase