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

NameOptionalityTypeDescription
widthRequirednumberNew width of window
heightRequirednumberNew height of window

Return type

TypeDescription
Promise < void >Method does not return a value