Zoom Property

Microsoft Publisher Visual Basic

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

PbZoom can be one of these PbZoom constants.
pbZoomFitSelection Resizes the page view to the size of the current selection.
pbZoomPageWidth Resizes the page view to the width of the publication.
pbZoomWholePage Resizes the page view to the size of a whole page.

expression.Zoom

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

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

ActiveDocument.ActiveView.Zoom = pbZoomWholePage