This document is archived and information here might be outdated.  Recommended version.


IMapServer.ToMapPoints Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer Interface > IMapServer.ToMapPoints Method
ArcGIS Developer Help

IMapServer.ToMapPoints Method

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
);
[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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapServer Interface