Syntax
ViewZoom [.AutoFit] [, .TwoPages] [, .FullPage] [, .NumColumns = number] [, .NumRows = number] [, .ZoomPercent = text]
Remarks
Changes the magnification for the active document and new documents in the current view. The arguments for ViewZoom correspond to the options in the Zoom dialog box (View menu). If the active document is not in page layout view and you specify .TwoPages, .FullPage, .NumColumns, or .NumRows, an error occurs.
Argument | Explanation | |
.AutoFit | Sets magnification so the entire width of the page is visible. | |
.TwoPages | In page layout view, sets magnification so two entire pages are visible. |
Argument | Explanation | |
.FullPage | In page layout view, sets magnification so the entire page is visible. | |
.NumColumns | When displaying multiple pages in grid formation, the number of columns in the grid. | |
.NumRows | When displaying multiple pages in grid formation, the number of rows in the grid. | |
.ZoomPercent | The percentage of magnification relative to the default display (100 percent). |
See Also
ViewZoom100, ViewZoom200, ViewZoom75, ViewZoomPageWidth, ViewZoomWholePage