Share via


DocumentBase.PrintPreview Method

Definition

Switches the view to print preview.

public:
 void PrintPreview();
public void PrintPreview ();
member this.PrintPreview : unit -> unit
Public Sub PrintPreview ()

Remarks

In addition to using this method, you can set the Microsoft.Office.Interop.Word._Application.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 Microsoft.Office.Interop.Word.View to wdPrintPreview.

Applies to