Share via


_Document.PrintPreview Method

Switches the view to print preview.

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

Syntax

'Declaration
Sub PrintPreview
'Usage
Dim instance As _Document

instance.PrintPreview()
void PrintPreview()

Remarks

In addition to using the PrintPreview method, you can set the PrintPreview property to True or False to switch to or from print preview, respectively. You can also change the view by setting the Type property for the View object to wdPrintPreview.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace