When working with "maximum display" width and height figures in CSPro, values are returned that may not correspond exactly to the pixels of the display:
Windows: The value returned depends on the current scaling, but the maximum display dimensions returned account for 90% of the display size after accounting for the size of the Windows taskbar.
When using display dimensions, you will generally want to use a scaled value for the width and height rather than using fixed values. For example, to view a webpage at 75% of the maximum display size, you could code: