Show / Hide Table of Contents

Method ScreenToLocation

ScreenToLocation(Point)

Converts a screen point relative to the upper left of the map into a location on the map.

Declaration
public MapPoint ScreenToLocation(Point screenPoint)
Parameters
Type Name Description
Point screenPoint

Screen point relative to the upper left

Returns
Type Description
MapPoint

A MapPoint in map coordinates if this view is initialzied and has a loaded Map; otherwise null.

Applies to

Platforms and versions
TargetVersions
.NET 6.0 Windows100.13 - 200.0
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
In This Article
Back to top Copyright © 2022 Esri.