ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / PageToClient Method
The point in page coordinates

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

    Parameters

    pageCoord
    The point in page coordinates

    Return Value

    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. Client coordinates will be in pixels relative to the top-left corner of the view. 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 or higher.
    See Also