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