ArcObjects Library Reference  (Carto)    

ILayer.SpatialReference Property

Spatial reference for the layer.

[Visual Basic 6.0]
Property SpatialReference As ISpatialReference
[Visual Basic .NET]
Public WriteOnly Property SpatialReference
public void SpatialReference {set;}
public ISpatialReference setrefSpatialReference()
HRESULT putref_SpatialReference(



   is a parameter of type ISpatialReference

Product Availability

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


This property is only used for map display, setting this property does not change the spatial reference of the layer's underlying data. The ArcGIS framework uses this property to pass the spatial reference from the map to the layer in order to support on-the-fly projection.

See Also

ILayer Interface