ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
ToMapEnvelope(LayoutImageDataFrameInfo,IMapDescription,Rectangle) Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
   ByVal mapDesc As ESRI.ArcGIS.Carto.IMapDescription, _
   ByVal rectangle As Rectangle _
) As ESRI.ArcGIS.Geometry.IEnvelope
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo
Dim mapDesc As ESRI.ArcGIS.Carto.IMapDescription
Dim rectangle As Rectangle
Dim value As ESRI.ArcGIS.Geometry.IEnvelope
 
value = instance.ToMapEnvelope(map, mapDesc, rectangle)
C# 
public ESRI.ArcGIS.Geometry.IEnvelope ToMapEnvelope( 
   ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo map,
   ESRI.ArcGIS.Carto.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.