NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SystemInformation.PrimaryMonitorSize

Gets the dimensions of the primary display monitor in pixels.

[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.

See Also

SystemInformation Class | SystemInformation Members | System.WinForms Namespace