ESRI.ArcGIS.ADF.Local
m_spatialRef Field
See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCustomLayer Class : m_spatialRef Field




Store the layer's underlying data spatial reference. Returned by IGeoDataset::SpatialReference.

Syntax

Visual Basic (Declaration) 
Protected m_spatialRef As ISpatialReference
Visual Basic (Usage)Copy Code
Dim instance As BaseCustomLayer
Dim value As ISpatialReference
 
value = instance.m_spatialRef
 
instance.m_spatialRef = value
C# 
protected ISpatialReference m_spatialRef

Remarks

This spatial reference should not be modified. Class member m_mapSpatialRef holds the map's spatial reference and should be used in order to implement reprojection on the fly.

See Also

© 2010 All Rights Reserved.