Document.PrintPreview Method ()

 

Switches the view to print preview.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

void PrintPreview()

In addition to using this method, you can set the P:Microsoft.Office.Interop.Word._Application.PrintPreview property to true or false to switch to or from print preview, respectively. You can also change the view by setting the P:Microsoft.Office.Interop.Word.View.Type property for the T:Microsoft.Office.Interop.Word.View to F:Microsoft.Office.Interop.Word.WdViewType.wdPrintPreview.

Return to top
Show:
© 2016 Microsoft