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

IMapServer2.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 > IMapServer2 Interface > IMapServer2.ToMapPoints Method
ArcGIS Developer Help

IMapServer2.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
public IPointCollection ToMapPoints (
    IMapDescription MapDescription,
    IImageDisplay mapDisplay,
    ILongArray screenXValues,
    ILongArray screenYValues
HRESULT ToMapPoints(
  IMapDescription* MapDescription,
  IImageDisplay* mapDisplay,
  ILongArray* screenXValues,
  ILongArray* screenYValues
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

IMapServer2 Interface