ArcObjects Library Reference (Carto)  

IGraphicElement.SpatialReference Property

Spatial reference of the map.

[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 [in]

  spatialRef is a parameter of type ISpatialReference

Product Availability

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

Remarks

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

See Also

IGraphicElement Interface