xtd 0.2.0
Loading...
Searching...
No Matches

◆ virtual_screen()

static xtd::drawing::rectangle xtd::forms::system_information::virtual_screen ( )
static

Gets the bounds of the virtual screen.

Returns
A xtd::drawing::rectangle that specifies the bounding rectangle of the entire virtual screen.
Remarks
The xtd::forms::system_information::virtual_screen property indicates the bounds of the entire desktop on a multi-monitor system. You can use this property to determine the maximum visual space available on a system that has multiple monitors installed.
The position coordinates of the rectangle indicate the position offset, in pixels, of the upper left corner of the virtual screen area relative to the upper left corner of the onscreen area of the primary display. The size values of the rectangle indicate the size of the virtual screen area.
Note
The xtd::drawing::rectangle::x position coordinate of the rectangle is negative when the virtual screen starts to the left of the left edge of the primary display. The xtd::drawing::rectangle::y coordinate of the rectangle is negative when the virtual screen starts above the top edge of the primary display.