Sets the height and width of the console window to the specified values.
width | The width of the console window measured in columns. |
height | The height of the console window measured in rows. |
xtd::argument_out_of_range_exception | width or height is less than or equal to zero. -or- width plus WindowLeft or height plus WindowTop is greater than or equal to xtd::int16_object.max_value. -or- width or height is greater than the largest possible window width or height for the current screen resolution and console font. |