VB.NET获取计算机的可用分辨率。 [英] VB.NET Get available resolutions of computer.

查看:115
本文介绍了VB.NET获取计算机的可用分辨率。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好



如何获取计算机可用屏幕分辨率列表。

我正在使用Visual Studio 2013. br />


谢谢

Hello

How can I get the list of available screen resolutions of computer.
I'm using Visual Studio 2013.

Thanks

推荐答案

你需要调用EnumDisplaySettingsEx。

那里这里是一个C#示例: http://stackoverflow.com/questions/ 744541 / how-to-list-available-video-modes-using-c [ ^ ]

转换为VB应该不会太难。
You'll need to invoke EnumDisplaySettingsEx.
There is a C# example here: http://stackoverflow.com/questions/744541/how-to-list-available-video-modes-using-c[^]
Which it shouldn't be too difficult to translate to VB.


这篇关于VB.NET获取计算机的可用分辨率。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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