ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / PageToScreen Method
The point on the page.

In This Topic
    PageToScreen Method
    In This Topic
    Converts a point in page coordinates to screen coordinates. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Point PageToScreen( 
       Coordinate2D pageCoord
    )
    Public Function PageToScreen( _
       ByVal pageCoord As Coordinate2D _
    ) As Point

    Parameters

    pageCoord
    The point on the page.

    Return Value

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also