ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / GetViewSize Method
Version

GetViewSize Method (LayoutView)
Returns the current size of the view in pixels.
Syntax
public Size GetViewSize()

Return Value

The current size of the view in pixels.
Remarks
This method must be called on the UI thread
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also