Dela via


Document.ClosePrintPreview Method (2007 System)

Switches the document from print preview to the previous view. If the document is not in print preview, an exception is thrown.

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

Syntax

'Declaration
Public Sub ClosePrintPreview
'Usage
Dim instance As Document

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

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace