ESRI.ArcGIS.ADF.IMS
CoordinateSystem Property
See Also 
ESRI.ArcGIS.ADF.IMS.SpatialReference Namespace > SpatialReference Class : CoordinateSystem Property




Gets or sets the SpatialReferenceInfo properties for the coordinate system.

Syntax

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

Example

For an example, see the SpatialReference overview.

Remarks

The CoordinateSystem defines the projection for the data. A projection specifies how latitude-longitude coordinates are transformed into 2-dimension x-y coordinates. For more information on coordinate systems, see ArcIMS Help.

The CoordinateSystem may be set either using an integer ID value or with a definition string. Commonly used projections have been assigned ID values. See ArcIMS Help, under ArcXML Guide, for coordinate system IDs. Definition strings allow flexibility to set parameters for the coordinate system. Use IDSpatialReferenceInfo when setting the coordinate system by ID. Use DefinitionSpatialReferenceInfo when setting by a definition string.

See Also

© 2010 All Rights Reserved.