ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
FromMapPoints Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local Namespace > Converter Class : FromMapPoints 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.
points
The ArcGIS point collection (IPointCollection) objects with map coordinates.
Converts a collection of map coordinates to screen coordinates.

Syntax

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

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.
points
The ArcGIS point collection (IPointCollection) objects with map coordinates.

Return Value

An array of system Point objects with screen coordinates.

See Also

© 2010 All Rights Reserved.