DocumentWindow.FitToPage Method
Adjusts the size of the specified document window to accommodate the information that's currently displayed.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub FitToPage
'Usage
Dim instance As DocumentWindow
instance.FitToPage()
void FitToPage()