ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
ToMapEnvelope(LayoutImageDataFrameInfo,IMapDescription,Rectangle) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > WebPageLayout Class > ToMapEnvelope Method : ToMapEnvelope(LayoutImageDataFrameInfo,IMapDescription,Rectangle) Method




map
LayoutImageDataFrameInfo of the map.
mapDesc
If mapDesc is null, it will be retrieved from the Map Server.
rectangle
Envelope in screen coordinates.
Gets an envelope in map coordinates by passing in the envelope's screen coordinates.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ToMapEnvelope( _
   ByVal map As LayoutImageDataFrameInfo, _
   ByVal mapDesc As IMapDescription, _
   ByVal rectangle As Rectangle _
) As IEnvelope
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim mapDesc As IMapDescription
Dim rectangle As Rectangle
Dim value As IEnvelope
 
value = instance.ToMapEnvelope(map, mapDesc, rectangle)
C# 
public IEnvelope ToMapEnvelope( 
   LayoutImageDataFrameInfo map,
   IMapDescription mapDesc,
   Rectangle rectangle
)

Parameters

map
LayoutImageDataFrameInfo of the map.
mapDesc
If mapDesc is null, it will be retrieved from the Map Server.
rectangle
Envelope in screen coordinates.

Return Value

Envelope in map coordinates.

See Also

© 2010 All Rights Reserved.