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

◆ get_bounds() [2/4]

static drawing::rectangle xtd::forms::screen::get_bounds ( intptr  handle)
static

Retrieves the bounds of the display that contains the largest portion of the specified handle.

Parameters
handleThe window handle for which to retrieve the display bounds.
Returns
A xtd::drawing::rectangle that specifies the bounds of the display that contains the specified handle. In multiple display environments where no display contains the specified handle, the display closest to the object is returned.