Apr 27 2022 09:45 AM - edited Apr 27 2022 10:00 AM
Hello,
Using System.Windows.Forms.Screen[] screens = System.Windows.Forms.Screen.AllScreens;
here I'm getting different behavior of screen bounds/Resolutions I mean screen bounds loaded with scaling factor but same line of code in my actual project loading without considering scaling(display's actual screen bound values without considering scaling factor).
Is there any particular reason to load screen bounds with considering scaling factor and without considering scaling factor.
Example:
for display1 Screen bound values with scale factor 125% are width: 1280 and Height :720 same line of code I used in my actual project with same same scale factor 125% getting values of bounds width: 1920 and Height :1080 here it is without scale factor
With scale factor considered bounds
Without considering scale factor
Expected is It should also consider scale factor in screen bounds.