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




map
LayoutImageDataFrameInfo of the map.
mapDesc
If mapDesc is null, it will be retrieved from the Map Server.
x
Screen x coordinate of the point.
y
Screen y coordinate of the point.
Gets a point in map coordinates by passing in the point's screen coordinates.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ToMapPoint( _
   ByVal map As LayoutImageDataFrameInfo, _
   ByVal mapDesc As IMapDescription, _
   ByVal x As Integer, _
   ByVal y As Integer _
) As IPoint
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim mapDesc As IMapDescription
Dim x As Integer
Dim y As Integer
Dim value As IPoint
 
value = instance.ToMapPoint(map, mapDesc, x, y)
C# 
public IPoint ToMapPoint( 
   LayoutImageDataFrameInfo map,
   IMapDescription mapDesc,
   int x,
   int y
)

Parameters

map
LayoutImageDataFrameInfo of the map.
mapDesc
If mapDesc is null, it will be retrieved from the Map Server.
x
Screen x coordinate of the point.
y
Screen y coordinate of the point.

Return Value

Point in map coordinates

See Also

© 2010 All Rights Reserved.