ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / ScreenToPage Method
The point value in screen coordinates.

In This Topic
    ScreenToPage Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also