ESRI.ArcGIS.ADF.IMS
SpatialReference Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > DataFrame Class : SpatialReference Property




Gets or sets the spatial reference properties.

Syntax

Visual Basic (Declaration) 
Public Property SpatialReference As SpatialReference
Visual Basic (Usage)Copy Code
Dim instance As DataFrame
Dim value As SpatialReference
 
instance.SpatialReference = value
 
value = instance.SpatialReference
C# 
public SpatialReference SpatialReference {get; set;}

Example

For an example of setting the SpatialReference of a DataFrame, see the DataFrame overview.

Remarks

This is the spatial reference, including coordinate system, of the data frame within a layout. Each data frame in a layout can have a separate spatial reference. The spatial reference can be read and set.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.