Window.setInnerSize

Function/Meaning

[Windows *] Client size setting

Type
Windowclassmethod of
Syntax
setInnerSize(width, height)
Arguments
width

Specifies the width of the client.

height

Specifies the vertical width of the client.

Return value
None (void)
Explanation

Specifies the client size of the window.
The client is the area in the window where the layer can be displayed.
Setting this size will change the size of the window accordingly.
When specifying the size of the client, it is more efficient to specify it all at once with this method rather than setting the Window.innerWidth and Window.innerHeight properties individually.

Reference
Window.innerWidth
Window.innerHeight