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




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

Syntax

Visual Basic (Declaration) 
Public Overloads Sub FromMapPoint( _
   ByVal map As LayoutImageDataFrameInfo, _
   ByVal mapDesc As IMapDescription, _
   ByVal point As IPoint, _
   ByRef x As Integer, _
   ByRef y As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim map As LayoutImageDataFrameInfo
Dim mapDesc As IMapDescription
Dim point As IPoint
Dim x As Integer
Dim y As Integer
 
instance.FromMapPoint(map, mapDesc, point, x, y)
C# 
public void FromMapPoint( 
   LayoutImageDataFrameInfo map,
   IMapDescription mapDesc,
   IPoint point,
   out int x,
   out int y
)

Parameters

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

See Also

© 2010 All Rights Reserved.