ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
ToMapPoints Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local Namespace > Converter Class : ToMapPoints 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.
screenPoints
An array of System point (System.Drawing.Point) objects with screen coordinates.
Converts an array of screen points to an ArcGIS points collection (IPointCollection).

Syntax

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

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.
screenPoints
An array of System point (System.Drawing.Point) objects with screen coordinates.

Return Value

A collection of ArcGIS point objects (IPointCollection).

See Also

© 2010 All Rights Reserved.