This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer4 Interface > IMapServer4.ToMapPoints Method (ArcObjects .NET 10.5 SDK) |
Converts a screen location to a map coordinate.
[Visual Basic .NET] Public Function ToMapPoints ( _ ByVal MapDescription As IMapDescription, _ ByVal mapDisplay As IImageDisplay, _ ByVal screenXValues As ILongArray, _ ByVal screenYValues As ILongArray _ ) As IPointCollection
[C#] public IPointCollection ToMapPoints ( IMapDescription MapDescription, IImageDisplay mapDisplay, ILongArray screenXValues, ILongArray screenYValues );
[C++]
HRESULT ToMapPoints(
IMapDescription* MapDescription,
IImageDisplay* mapDisplay,
ILongArray* screenXValues,
ILongArray* screenYValues,
IPointCollection** mapPoints
);
[C++]
Parameters MapDescription [in]
MapDescription is a parameter of type IMapDescription mapDisplay [in]
mapDisplay is a parameter of type IImageDisplay screenXValues [in]
screenXValues is a parameter of type ILongArray screenYValues [in]
screenYValues is a parameter of type ILongArray mapPoints [out, retval]
mapPoints is a parameter of type IPointCollection