Previous Document Next Document

Object Model Reference : Classes : A : Application : Properties : Application.Windows


Application.Windows

Property Windows As Windows

Description

Member of Application

The Windows property returns the collection of document windows open in the application.

The Windows property returns a read-only value.

VBA example 1

The following VBA example sets the zoom level of all document windows to 200%.

Sub WindowsZoom()
 Dim w As Window
 For Each w In Windows
  w.ActiveView.Zoom = 200
 Next w
End Sub
VBA example 2

The following VBA example tiles the document windows horizontally.

Sub WindowsTile()
 Windows.Arrange cdrTileHorizontally
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.