Converts a point on the Map (in map units) to device co-ordinates (typically pixels).
ERROR: Syntax information about IMapControl2.FromMapPoint may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.Controls.dll
[C++]
HRESULT FromMapPoint(
IPoint* pt,
long* X,
long* Y
);
[C++]Parameters
pt [in]pt is a parameter of type IPoint
X [in, out] X is a parameter of type long Y [in, out] Y is a parameter of type long
Product Availability
Available with ArcGIS Engine.
Description
The FromMapPoint method takes an input point in MapUnits, and populates two variables with the equivalent control coordinates in pixels.
See Also
IMapControl2 Interface | IMapControl2.ToMapPoint Method | IMapControl3.ToMapPoint Method | IMapControl4.ToMapPoint Method