有什么办法可以获取当前屏幕的分辨率??!

shutely 2005-04-23 11:56:57
有什么办法可以获取当前屏幕的分辨率??!
...全文
161 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
wjcking 2005-04-23
  • 打赏
  • 举报
回复
web method
<script language = "Javascript">
window.alert(screen.width);
window.alert(screen.height);
</script>
chenyuming2004 2005-04-23
  • 打赏
  • 举报
回复
Screen.PrimaryScreen.Bounds.Width
Screen.PrimaryScreen.Bounds.Height
jeky123 2005-04-23
  • 打赏
  • 举报
回复
Screen.PrimaryScreen.Bounds.Width 主显示器的宽
Screen.PrimaryScreen.Bounds.Height 主显示器的高

110,502

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧