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


IMapServer3.ToMapPoints Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServer3.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,
  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

Product Availability

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

See Also

IMapServer3 Interface