ESRI.ArcGIS.ADF.IMS
SpatialReference Property
See Also 
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.

See Also

© 2010 All Rights Reserved.