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




envelope
The Web ADF Envelope to convert.
context
The ArcGIS Server context (IServerContext), available when working with Local connections to ArcGIS Server.
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)
C# 
public static IEnvelope ToIEnvelope( 
   Envelope envelope,
   IServerContext 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

© 2010 All Rights Reserved.