Converts an ArcGIS (ArcObjects) spatial reference to a Web ADF spatial reference.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function FromISpatialReference( _
ByVal spatialReference As ESRI.ArcGIS.Geometry.ISpatialReference _
) As ESRI.ArcGIS.ADF.Web.SpatialReference.SpatialReference |
Visual Basic (Usage) | Copy Code |
---|
Dim spatialReference As ESRI.ArcGIS.Geometry.ISpatialReference
Dim value As ESRI.ArcGIS.ADF.Web.SpatialReference.SpatialReference
value = Converter.FromISpatialReference(spatialReference) |
C# | |
---|
public static ESRI.ArcGIS.ADF.Web.SpatialReference.SpatialReference FromISpatialReference(
ESRI.ArcGIS.Geometry.ISpatialReference spatialReference
) |
Parameters
- spatialReference
- The ArcGIS spatial reference (ISpatialReference) to convert.
Return Value
The Web ADF
SpatialReference with the equivalent properties.
Requirements
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
See Also