Object Model Reference : Classes : A : ActiveView : Properties : ActiveView.Zoom |
Property Zoom As Double
Member of ActiveView
The Zoom property returns or specifies a magnification level in the active view of CorelDRAW.
The following VBA example sets the zoom level of the active document to 200%, if the current zoom level is less than 200%.
Sub Zoom() |
With ActiveWindow.ActiveView |
If .Zoom < 200 Then .Zoom = 200 |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.