Previous Document Next Document

Object Model Reference : Classes : A : AppWindow : Properties : AppWindow.Height


AppWindow.Height

Property Height As Long

Description

Member of AppWindow

The Height property sets the height of the CorelDRAW main application window on the desktop.

This property applies only when the main application window is in a normal window state, that is, the window is not minimized or maximized.

The height of the application window is a numerical value measured in screen pixels.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.