This document is archived and information here might be outdated. Recommended version. |
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
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 ).