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