ESRI.ArcGIS.ADF.IMS | |
SpatialReference Property | |
See Also |
ESRI.ArcGIS.ADF.IMS.Data Namespace > ImageDataset Class : SpatialReference Property |
Visual Basic (Declaration) | |
---|---|
Public Property SpatialReference As SpatialReference |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public SpatialReference SpatialReference {get; set;} |
The SpatialReference property may be used to specify the coordinate system, and optionally the datum transformation, of the data set in the FeatureDataset. It is recommended that all data added to the map include spatial reference information. If the data set in the FeatureDataset is from a different spatial reference than the map to which is is added, the new layer may not align properly with the existing map layers. If the data source itself provides spatial reference information, such as in an ArcSDE layer's properties, then it is not essential to add a SpatialReference here.
Make sure the SpatialReference, if set, describes the actual properties of the data. If SpatialReference misidentifies the actual coordinate properties of the data set, then the layer will not align properly.
This property is not used to change the projection of the map. To change the map projection, see MapView.SpatialReference.