View.Zoom property (Publisher)

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.

Example

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

ActiveDocument.ActiveView.Zoom = pbZoomWholePage

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.