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


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

IMapServer4.FromMapPoints Method

Converts a map coordinate to a screen location.

[Visual Basic .NET]
Public Sub FromMapPoints ( _
    ByVal MapDescription As IMapDescription, _
    ByVal mapDisplay As IImageDisplay, _
    ByVal mapPoints As IPointCollection, _
    ByRef screenXValues As ILongArray, _
    ByRef screenYValues As ILongArray _
)
[C#]
public void FromMapPoints (
    IMapDescription MapDescription,
    IImageDisplay mapDisplay,
    IPointCollection mapPoints,
    ref ILongArray screenXValues,
    ref ILongArray screenYValues
);
[C++]
HRESULT FromMapPoints(
  IMapDescription* MapDescription,
  IImageDisplay* mapDisplay,
  IPointCollection* mapPoints,
  ILongArray** screenXValues,
  ILongArray** screenYValues
);
[C++]
Parameters
MapDescription [in]

MapDescription is a parameter of type IMapDescription* mapDisplay [in]
mapDisplay is a parameter of type IImageDisplay* mapPoints [in]
mapPoints is a parameter of type IPointCollection* screenXValues [in, out]
screenXValues is a parameter of type ILongArray** screenYValues [in, out]
screenYValues is a parameter of type ILongArray**

Product Availability

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

See Also

IMapServer4 Interface