Show / Hide Table of Contents

Method ScreenToBaseSurface

ScreenToBaseSurface(Point)

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

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
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.