This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.FromMapPoint Method (ArcObjects .NET 10.4 SDK) |
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
FromMapPoint converts a point in map units to device coordinates.