This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IM > IMapContext Interface > IMapContext.SpatialReference Property (ArcObjects .NET 10.5 SDK) |
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