Export (0) Print
Expand All
Expand Minimize

SystemInformation.PrimaryMonitorSize Property

Gets the dimensions, in pixels, of the primary display monitor.

[Visual Basic]
Public Shared ReadOnly Property PrimaryMonitorSize As Size
[C#]
public static Size PrimaryMonitorSize {get;}
[C++]
public: __property static Size get_PrimaryMonitorSize();
[JScript]
public static function get PrimaryMonitorSize() : Size;

Property Value

A Size that specifies the dimensions of the primary monitor in pixels.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation | PrimaryMonitorMaximizedWindowSize | Size

Show:
© 2014 Microsoft