共用方式為


DocumentBase.PrintPreview Method

Switches the view to print preview.

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

Syntax

'Declaration
Public Sub PrintPreview
public void 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

DocumentBase Class

Microsoft.Office.Tools.Word Namespace