My.Computer.Screen.Bounds : Screen « Windows « VB.Net Tutorial






Option Strict On

Imports System.Drawing

Public Module ScreenRes
   Public Sub Main()
      Dim bnds As Rectangle = My.Computer.Screen.Bounds
      Console.WriteLine("Bounds: " & bnds.Width & " by " & bnds.Height)
   End Sub
End Module
Bounds: 1280 by 768








24.4.Screen
24.4.1.My.Computer.Screen.Bounds