Show / Hide Table of Contents

Method ScreenToBaseSurface

ScreenToBaseSurface(Point)

Converts a screen coordinate to a location on the base surface in scene coordinates, considering only the scene's base surface and ignoring other scene content.

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

The screen coordinate to convert to a location on the base surface. The coordinate of the top left corner of the screen is 0,0.

Returns
Type Description
MapPoint

A point on the base surface.

Remarks

Note that the elevation value for the converted location is approximated, as the precision of the elevation value decreases with increasing distance between the camera and the surface.

This method returns null if the provided screen coordinate is outside the bounds of the current screen or if its location does not intersect with the surface of the local scene.

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

See Also
ScreenToLocationAsync(Point, CancellationToken)
LocationToScreen(MapPoint)

Applies to

Platforms and versions
TargetVersions
.NET Windows300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.