API Documentation
>
CorelDRAW
>
2025-v26
>
ActiveView
>
IVGActiveView
ActiveView.Zoom property
Gets or sets the zoom level of the active view
Syntax:
Property
Get
Zoom
(
)
As
Double
Property
Let
Zoom
(
ByVal
Value
As
Double
)
Remarks:
The
Zoom
property returns or specifies a magnification level in the active view of CorelDRAW.
Examples:
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