Maybe using view.aspect?
Quote:

aspect

Determines the vertical-to-horizontal pixel size ratio. The default value of 1 gives a normal ratio of 1:1 on the primary monitor . If a negative value is given, the view is flipped upside down.


Use sys_metrics(0) to receive the desktop resolution width and sys_metrics(1) to receive the desktop resolution height.

Now you can calculate the new aspect value.

Note however, that this is just a quick guess, nothing more.