Previous Document Next Document

Object Model Reference : Classes : W : Window : Properties : Window.ActiveView


Window.ActiveView

Property ActiveView As ActiveView

Description

Member of Window

The ActiveView property returns reference to the active view.

The ActiveView property returns a read-only value.

VBA example

The following VBA example zooms the view to display all shapes in the document.

Sub Test()
 Dim actvw As ActiveView
 Set actvw = ActiveWindow.ActiveView
 actvw.ToFitAllObjects
 Set actvw = Nothing
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.