Examples:
The following VBA example sets the current window state to normal, defines the new dimensions of the window, and resizes the CorelDRAW main application window according to the new dimensions.
Sub AppWindowHeight()
With AppWindow
.WindowState = cdrWindowNormal
.Top = 10
.Left = 10
.Height = 500
.Width = 600
End With
End Sub