This document is archived and information here might be outdated. Recommended version. |
The spatial reference associated with this geometry.
[Visual Basic .NET] Public Property SpatialReference As ISpatialReference
[C#] public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
ISpatialReference** spatialRef
);
[C++]
HRESULT putref_SpatialReference(
ISpatialReference* spatialRef
);
[C++] Parameters spatialRef [out, retval]
spatialRef is a parameter of type ISpatialReference** spatialRef
spatialRef is a parameter of type ISpatialReference*
Returns and sets the Spatial Reference in which the geometry exists. If the spatial reference has not been set the property will return an empty ISpatialReference instance.