ArcGIS Pro 2.9 API Reference Guide
ClientToPage Method

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : ClientToPage Method
The point in client coordinates
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
clientPoint
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, Windows 8.1

See Also

Reference

LayoutView Class
LayoutView Members