Converts a Web ADF geometry object to an ArcGIS (ArcObjects) geometry object.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function ToIGeometry( _
ByVal geometry As Geometry, _
ByVal context As IServerContext _
) As IGeometry |
Visual Basic (Usage) | Copy Code |
---|
Dim geometry As Geometry
Dim context As IServerContext
Dim value As IGeometry
value = Converter.ToIGeometry(geometry, context)
|
Parameters
- geometry
-
The Web ADF Geometry
object to convert.
- context
-
The ArcGIS Server context
(IServerContext), available
when working with Local connections to ArcGIS Server.
Return Value
The ArcGIS (ArcObjects) geometry object
(
IGeometry) with
the equivalent properties.
Remarks
See Also