ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
FromMapPoint Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local Namespace > Converter Class : FromMapPoint Method




context
The ArcGIS Server context (IServerContext), available when working with Local connections to ArcGIS Server.
mapServer
The ArcGIS map server (IMapServer).
mapDescription
The map description (IMapDescription) when working with a local ArcGIS connection.
imageDisplay
IImageDisplay with properties of the map display.
pt
An ArcGIS point (IPoint) object with map coordinates.
Transforms the input ArcGIS point (IPoint) object from map to screen coordinates.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromMapPoint( _
   ByVal context As IServerContext, _
   ByVal mapServer As IMapServer, _
   ByVal mapDescription As IMapDescription, _
   ByVal imageDisplay As IImageDisplay, _
   ByVal pt As IPoint _
) As Point
Visual Basic (Usage)Copy Code
Dim context As IServerContext
Dim mapServer As IMapServer
Dim mapDescription As IMapDescription
Dim imageDisplay As IImageDisplay
Dim pt As IPoint
Dim value As Point
 
value = Converter.FromMapPoint(context, mapServer, mapDescription, imageDisplay, pt)
C# 
public static Point FromMapPoint( 
   IServerContext context,
   IMapServer mapServer,
   IMapDescription mapDescription,
   IImageDisplay imageDisplay,
   IPoint pt
)

Parameters

context
The ArcGIS Server context (IServerContext), available when working with Local connections to ArcGIS Server.
mapServer
The ArcGIS map server (IMapServer).
mapDescription
The map description (IMapDescription) when working with a local ArcGIS connection.
imageDisplay
IImageDisplay with properties of the map display.
pt
An ArcGIS point (IPoint) object with map coordinates.

Return Value

A Point with corresponding screen coordinates.

See Also

© 2010 All Rights Reserved.