ArcObjects Library Reference (Display)  

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,
  long* x,
  long* 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