Window.setSize

Function/Meaning
Window size settings
Type
Method of the Window class
Syntax
setSize(width, height)
Arguments
width Specifies the width of the window.
height Specifies the height of the window.
Return Value
None (void)
Description
Specifies the size of the window.
When specifying the window size, it is more efficient to set them all at once with this method than to set the Window.width and Window.height properties individually.
See Also
Window.width
Window.height
Window.setPos
Window.setInnerSize
Window.setMinSize
Window.setMaxSize