开发者

how to read screen resolution - and change this resolution?

how to read screen resolution - and change this resolution ?

ex: i read 800X60开发者_如何学C0 and i want to change to 1024X768

in WinForm - C#


First of all: Which screen? You know that there can be multiple ones.

From Windows Forms you can use the Screen class to retrieve the dimensions of a specific screen. You can use the ChangeDisplaySettingsEx API function to change the resolution of a display. I don't think there is a purely managed way to do it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜