This document is archived and information here might be outdated. Recommended version. |
The spatial reference of the map (data frame).
[Visual Basic .NET] Public Property SpatialReference As ISpatialReference
[C#] public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
ISpatialReference** SpatialReference
);
[C++]
HRESULT putref_SpatialReference(
ISpatialReference* SpatialReference
);
[C++] Parameters SpatialReference [out, retval]
SpatialReference is a parameter of type ISpatialReference** SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference*
Use SpatialReference to retrieve or set a spatial reference for a map. If the spatial reference for a map has been changed, remember to assign the new spatial reference to any subsequent geometry used to change the map area or identify or select features.