Skip to main content

SetSize

Description

Sets width and height of window

Syntax

// window points to instance of IWindow
await window.SetSize(width, height);

Parameters

NameTypeDescription
widthnumberNew width of window
heightnumberNew height of window

Return type

TypeDescription
Promise < void >Method does not return a value