ArcObjects Library Reference (Controls)  

IMapControl2.ToMapPoint Method

Converts a point in device co-ordinates (typically pixels) to a point on the Map (in map units).

ERROR: Syntax information about IMapControl2.ToMapPoint may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll

[C++]
HRESULT ToMapPoint(
  long X,
  long Y,
  IPoint** point
);
[C++]

Parameters

X [in]   X is a parameter of type long Y [in]   Y is a parameter of type long point [out, retval]

  point is a parameter of type IPoint

Product Availability

Available with ArcGIS Engine.

Description

ToMapPoint converts a (X,Y) location in pixels to MapUnits.

Errors Returned

1000 800a03e8: An internal call to create an object has failed

See Also

IMapControl2 Interface | IMapControl3.FromMapPoint Method | IMapControl2.FromMapPoint Method | IMapControl4.FromMapPoint Method