Object Model Reference : Classes : W : Window : Properties : Window.ActiveView |
Property ActiveView As ActiveView
Member of Window
The ActiveView property returns reference to the active view.
The ActiveView property returns a read-only value.
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 |
Copyright 2013 Corel Corporation. All rights reserved.