Converts a Web ADF spatial reference to an ArcGIS (ArcObjects) spatial
reference.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim spatialReference As SpatialReference
Dim context As IServerContext
Dim value As ISpatialReference
value = Converter.ToISpatialReference(spatialReference, context)
|
Parameters
- spatialReference
-
The Web ADF
SpatialReference
to convert.
- context
-
The ArcGIS Server context
(IServerContext), available
when working with Local connections to ArcGIS Server.
Return Value
The ArcGIS spatial reference
(
ISpatialReference) with
the equivalent properties.
See Also