![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
SpatialReference Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Data Namespace > ImageDataset Class : SpatialReference Property |
Visual Basic (Declaration) | |
---|---|
Public Property SpatialReference As SpatialReference |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ImageDataset Dim value As SpatialReference instance.SpatialReference = value value = instance.SpatialReference |
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.
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