ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
FromISpatialReference Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local Namespace > Converter Class : FromISpatialReference Method




spatialReference
The ArcGIS spatial reference (ISpatialReference) to convert.
Converts an ArcGIS (ArcObjects) spatial reference to a Web ADF spatial reference.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromISpatialReference( _
   ByVal spatialReference As ISpatialReference _
) As SpatialReference
Visual Basic (Usage)Copy Code
Dim spatialReference As ISpatialReference
Dim value As SpatialReference
 
value = Converter.FromISpatialReference(spatialReference)
C# 
public static SpatialReference FromISpatialReference( 
   ISpatialReference spatialReference
)

Parameters

spatialReference
The ArcGIS spatial reference (ISpatialReference) to convert.

Return Value

The Web ADF SpatialReference with the equivalent properties.

See Also

© 2010 All Rights Reserved.