Workbook.PrintPreview Method
Shows a preview of the object as it would look when printed.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Sub PrintPreview ( _
EnableChanges As Object _
)
void PrintPreview(
Object EnableChanges
)
Parameters
- EnableChanges
Type: System.Object
true to allow changes to the margins and page setup while displaying the print preview; otherwise, false.
Remarks
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.
.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.