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


IDisplayTransformation.FromMapPoint Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.FromMapPoint Method
ArcGIS Developer Help

IDisplayTransformation.FromMapPoint Method

Calculates device coordinates corresponding to the map point.

[Visual Basic .NET]
Public Sub FromMapPoint ( _
    ByVal mapPoint As IPoint, _
    ByRef x As Integer, _
    ByRef y As Integer _
)
[C#]
public void FromMapPoint (
    IPoint mapPoint,
    ref int x,
    ref int y
);
[C++]
HRESULT FromMapPoint(
  IPoint* mapPoint,
  System.Int32* x,
  System.Int32* y
);
[C++]
Parameters
mapPoint [in]

mapPoint is a parameter of type IPoint* x [out]
x is a parameter of type long* y [out]
y is a parameter of type long*

Product Availability

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

Remarks

FromMapPoint converts a point in map units to device coordinates.

See Also

IDisplayTransformation Interface