ArcObjects Library Reference (Display)  

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
public IPoint ToMapPoint (
    int x,
    int y
  long x,
  long y,
  IPoint** mapPoint


x [in]   x is a parameter of type long y [in]   y is a parameter of type long mapPoint [out, retval]

  mapPoint is a parameter of type IPoint

Product Availability

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


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

.NET Snippets

Draw Point | Get Map Coordinates from Screen Coordinates

.NET Related Topics

How to get map coordinates from screen coordinates | Working with PageLayout elements