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

IGraphicElement.SpatialReference Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicElement Interface > IGraphicElement.SpatialReference Property
ArcGIS Developer Help

IGraphicElement.SpatialReference Property

Spatial reference of the map.

[Visual Basic .NET]
Public Property SpatialReference As ISpatialReference
public ISpatialReference SpatialReference {get; set;}
HRESULT get_SpatialReference(
  ISpatialReference** spatialRef
HRESULT putref_SpatialReference(
  ISpatialReference* spatialRef
spatialRef [out, retval]

spatialRef is a parameter of type ISpatialReference** spatialRef [in]
spatialRef is a parameter of type ISpatialReference*

Product Availability

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


SpatialReference is used to set (by reference) and retrieve the spatial reference of the graphic element. 

See Also

IGraphicElement Interface