如何通过c#API获取Window System比例设置值? [英] How to get Window System scale setting value by c# API?

查看:70
本文介绍了如何通过c#API获取Window System比例设置值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,


自Windows 7以来引入了比例值


c#是否提供任何API来获取当前系统比例值?





似乎规模在任何分辨率下都不可用,例如它在分辨率设置为800 x 600


规模的最大值是多少?在Windows 7中它是150%,在Windows 10中变为175%



谢谢和问候,


E-John


解决方案

看看
this
帮助

Dear All,

Scale value is introduced since Windows 7

Does c# provide any API to get the current system scale value?


And it seems that the scale is not available in any resolution, for example it is disable when resolution is set to 800 x 600

And what is the max value of scale? in Windows 7 it is 150% and it becomes to 175% in Windows 10

Thanks and regards,

E-John

解决方案

See if this helps


这篇关于如何通过c#API获取Window System比例设置值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆