PageFit Property

See Also         Example         Applies To

Returns or sets the view magnification of a window so that either the entire page is visible or the entire width of the page is visible. Can be one of the following WdPageFit constants: wdPageFitBestFit, wdPageFitFullPage, wdPageFitNone, or wdPageFitTextFit. Read/write Long.

Remarks

The wdPageFitFullPage constant has no effect if the document isn't in print view.

When the PageFit property is set to wdPageFitBestFit, the zoom percentage is automatically recalculated every time the document window size is changed. Setting this property to wdPageFitNone keeps the zoom percentage from being recalculated whenever this happens.