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


IMapContext.SpatialReference Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IMapContext.SpatialReference Property

The spatial reference of the map.

[Visual Basic .NET]
Public ReadOnly Property SpatialReference As ISpatialReference
[C#]
public ISpatialReference SpatialReference {get;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** spatialRef
);
[C++]

Parameters spatialRef [out, retval]
spatialRef is a parameter of type ISpatialReference

Product Availability

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

See Also

IMapContext Interface