API Documentation > CorelDRAW > 2025-v26 > AppWindow > IVGAppWindow
AppWindow.Top property
Gets or sets the application's window top position
Syntax:
Property Get Top() As Long
Property Let Top(ByVal Value As Long)
Remarks:
The Top property sets the distance, in screen pixels, from the CorelDRAW window's top border to the top of the monitor's display area. This property only applies when the main application window is in a normal window state; that is, the window is not minimized or maximized.
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 AppWindowTop()
With AppWindow
  .WindowState = cdrWindowNormal
  .Top = 10
  .Left = 10
  .Height = 500
  .Width = 600
End With 
End Sub