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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.