Share via


Percentage Property

Returns or sets the magnification for a window as a percentage. Read/write Long.

expression.Percentage

expression Required. An expression that returns a Zoom object.

Example

This example switches the active window to normal view and sets the magnification to 80 percent.

With ActiveDocument.ActiveWindow.View
    .Type = wdNormalView
    .Zoom.Percentage = 80
End With

This example increases the magnification of the active window by 10 percent.

Set myZoom = ActiveDocument.ActiveWindow.View.Zoom
myZoom.Percentage = myZoom.Percentage + 10

Applies to | Zoom Object

See Also | PageFit Property | Scaling Property | Zoom Object