ArcGIS Pro 2.9 API Reference Guide
GetViewSize Method (MapView)

ArcGIS.Desktop.Mapping Namespace > MapView Class : GetViewSize Method
Returns the current size of the view.
Syntax
public Size GetViewSize()
Public Function GetViewSize() As Size

Return Value

The current size of the view.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MapView Class
MapView Members