取得螢幕解析度

  x = Screen.Width \ Screen.TwipsPerPixelX
  y = Screen.Height \ Screen.TwipsPerPixelY

至於設定其解析度請參考如何設定螢幕解析度