ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / ClientToPage Method
The point in client coordinates

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

    Parameters

    clientPoint
    The point in client 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
    Client coordinates must be in pixels relative to the top-left corner of the view. If either client coordinate value is double.NaN then a coordinate with X, Y both set to System.Double.NaN is returned. Page coordinates will be in the current units of the page.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also