Table of contents
TOC
Collapse the table of content
Expand the table of content

View.Zoom Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets a PbZoom constant or a value between 10 and 400 indicating the zoom setting of the specified view. Read/write.

Syntax

expression. Zoom

_expression_A variable that represents a View object.

Return Value

PbZoom

Remarks

The Zoom property value can be one of the PbZoom constants declared in the Microsoft Publisher type library and shown in the following table.

ConstantDescription
pbZoomFitSelectionResizes the page view to the size of the current selection.
pbZoomPageWidthResizes the page view to the width of the publication.
pbZoomWholePageResizes the page view to the size of a whole page.

Example

The following example sets the zoom for the active publication so that the entire page fits on the screen.

ActiveDocument.ActiveView.Zoom = pbZoomWholePage
© 2018 Microsoft