ArcGIS Pro 2.8 API Reference Guide
ClientToScreen Method (LayoutView)

ArcGIS.Desktop.Layouts Namespace > LayoutView Class : ClientToScreen Method
The point value in client coordinates.
Converts a point in screen coordinates to a point in client coordinates. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Point ClientToScreen( 
   Point clientPoint
)
Public Function ClientToScreen( _
   ByVal clientPoint As Point _
) As Point

Parameters

clientPoint
The point value in client coordinates.

Return Value

The converted point in screen 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 point with X, Y both set to System.Double.NaN is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

LayoutView Class
LayoutView Members