Converts a collection of map coordinates to screen coordinates.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function FromMapPoints( _
ByVal context As ESRI.ArcGIS.Server.IServerContext, _
ByVal mapServer As ESRI.ArcGIS.Carto.IMapServer, _
ByVal mapDescription As ESRI.ArcGIS.Carto.IMapDescription, _
ByVal imageDisplay As ESRI.ArcGIS.Carto.IImageDisplay, _
ByVal points As ESRI.ArcGIS.Geometry.IPointCollection _
) As Point() |
Visual Basic (Usage) | Copy Code |
---|
Dim context As ESRI.ArcGIS.Server.IServerContext
Dim mapServer As ESRI.ArcGIS.Carto.IMapServer
Dim mapDescription As ESRI.ArcGIS.Carto.IMapDescription
Dim imageDisplay As ESRI.ArcGIS.Carto.IImageDisplay
Dim points As ESRI.ArcGIS.Geometry.IPointCollection
Dim value() As Point
value = Converter.FromMapPoints(context, mapServer, mapDescription, imageDisplay, points) |
Parameters
- context
- The ArcGIS Server context (IServerContext), available when working with Local connections to ArcGIS Server.
- mapServer
- The ArcGIS map server (T:ESRI.ArcGIS.Carto.IMapServer).
- mapDescription
- The map description (T:ESRI.ArcGIS.Carto.IMapDescription) when working with a local ArcGIS connection.
- imageDisplay
- T:ESRI.ArcGIS.Carto.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.
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