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 ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo, _
ByVal mapDesc As ESRI.ArcGIS.Carto.IMapDescription, _
ByVal point As ESRI.ArcGIS.Geometry.IPoint, _
ByRef x As Integer, _
ByRef y As Integer _
) |
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 point As ESRI.ArcGIS.Geometry.IPoint
Dim x As Integer
Dim y As Integer
instance.FromMapPoint(map, mapDesc, point, x, y) |
C# | |
---|
public void FromMapPoint(
ESRI.ArcGIS.ADF.Web.LayoutImageDataFrameInfo map,
ESRI.ArcGIS.Carto.IMapDescription mapDesc,
ESRI.ArcGIS.Geometry.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.
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