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

◆ set_window_position()

static void xtd::console::set_window_position ( int32  left,
int32  top 
)
static

Sets the position of the console window relative to the screen buffer.

Parameters
leftThe column position of the upper left corner of the console window.
topThe row position of the upper left corner of the console window.
Exceptions
xtd::argument_out_of_range_exceptionThe left in a set operation is less than zero
-or-
The left in a set operation is greater than or equal to xtd::console::buffer_width
-or-
the top in a set operation is less than zero
-or-
The topo in a set operation is greater than or equal to xtd::console::buffer_height.