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


IDisplayTransformation.ToMapPoint 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.ToMapPoint Method
ArcGIS Developer Help

IDisplayTransformation.ToMapPoint Method

Calculates a point in map coordinates corresponding to the device point.

[Visual Basic .NET]
Public Function ToMapPoint ( _
    ByVal x As Integer, _
    ByVal y As Integer _
) As IPoint
[C#]
public IPoint ToMapPoint (
    int x,
    int y
);
[C++]
HRESULT ToMapPoint(
  long x,
  long y
);
[C++]
Parameters
x [in]

x is a parameter of type long y [in]
y is a parameter of type long

Product Availability

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

Remarks

ToMapPoint converts an (X,Y) location in device coordinates to real world coordinates (either map units or page units if working with ArcMap's PageLayout ).

See Also

IDisplayTransformation Interface