Show / Hide Table of Contents

Method ScreenToBaseSurface

ScreenToBaseSurface(Point)

Converts the specified screen coordinate, relative to the upper-left corner of the scene view, to a location on the base surface in map coordinates.

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

The screen coordinate, in pixels. The coordinate of the top left corner of the screen is 0,0.

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).

Remarks

To call this method, assign a scene to the scene view, ensure that it is loaded and the draw status is Completed.

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

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 200.7
.NET Framework100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.