Show / Hide Table of Contents

Method ScreenToBaseSurface

ScreenToBaseSurface(Point)

Converts a screen coordinate (in pixels) to a coordinate on the scene view's base surface.

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

Screen point relative to the upper left.

Returns
Type Description
MapPoint

A MapPoint on the base surface of the scene; or null if screenPoint does not touch the base surface (for example when the sky is tapped).

See Also
ScreenToLocationAsync(Point)
LocationToScreen(MapPoint)
LocationToScreen(MapPoint, out LocationVisibility)

Applies to

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