Document.PrintPreview Method (2007 System)

Switches the view to print preview.

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

Syntax

'Declaration
Public Sub PrintPreview
'Usage
Dim instance As Document

instance.PrintPreview()
public void PrintPreview()
public:
void PrintPreview()
public function PrintPreview()

Remarks

In addition to using this 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 to wdPrintPreview.

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace