Skip to main content

ResizeToDefaultSize

Description

Resize the window to the default size.

Syntax

// window points to instance of IWindow
await window.ResizeToDefaultSize();

Parameters

NameTypeDescription
widthnumber- The default width size of the dialog.
heightnumber- The default height dialog.
resizeToDefaultboolean- Specify true to resize the window to the given default size.
If false, the default width and height are kept but resizing to these value is not done. By calling
ResizeToDefaultSize(), the window is resized to default width and height values.

Return type

TypeDescription
Promise < void >Method does not return a value