ArcGIS Explorer Component Help |
MapDisplay..::.ConvertToMapPoint Method |
MapDisplay Class See Also |
Converts a point on the screen into the equivalent map location.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Point ConvertToMapPoint( Point screenPoint ) |
Visual Basic (Declaration) |
---|
Public Function ConvertToMapPoint ( _ screenPoint As Point _ ) As Point |
Parameters
- screenPoint
- Type: System.Drawing..::.Point
The screen point to be converted, coordinates are in pixel units.
Return Value
The converted screen point, coordinates are in map units.Remarks
Use this method to convert a point in screen units (pixel) into an equivalent map location. In order to perform a successful
conversion you must supply a screen point that is within the bounds of the map window in the ArcGIS Explorer application.