ArcGIS Pro 2.8 API Reference Guide
ScreenToPage Method

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : ScreenToPage Method
The point value in screen coordinates.
Converts a point in screen coordinates to a point in page coordinates. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Coordinate2D ScreenToPage( 
   Point screenPoint
)
Public Function ScreenToPage( _
   ByVal screenPoint As Point _
) As Coordinate2D

Parameters

screenPoint
The point value in screen coordinates.

Return Value

The converted point in page coordinates.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Page coordinates will be in the current units of the page. If either screen coordinate value is double.NaN then a coordinate with X, Y both set to System.Double.NaN is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayoutView Class
LayoutView Members