Zoom.PageFit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property Microsoft::Office::Interop::Word::WdPageFit PageFit { Microsoft::Office::Interop::Word::WdPageFit get(); void set(Microsoft::Office::Interop::Word::WdPageFit value); };
public Microsoft.Office.Interop.Word.WdPageFit PageFit { get; set; }
member this.PageFit : Microsoft.Office.Interop.Word.WdPageFit with get, set
Public Property PageFit As WdPageFit
Property Value
Remarks
WdPageFit can be one of these WdPageFit constants:
wdPageFitBestFit
wdPageFitFullPage
wdPageFitNone
wdPageFitTextFit
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.