Skip to main content

How to: Show a Print Preview Form for a Document

This topic describes how to invoke the Print Preview for a document loaded into the SpreadsheetControl. To do this, use one of the methods listed in the table below, depending on the type of Print Preview form you wish to display.

Method

Description

SpreadsheetControl.ShowRibbonPrintPreview

Displays the Print Preview window with a Ribbon UI.

DXSpreadsheet_Examples_RibbonPrintPreview

SpreadsheetControl.ShowPrintPreview

Displays the Print Preview window with a Bar UI.

DXSpreadsheet_Examples_BarPrintPreview

End-users can invoke the Print Preview by clicking the Print Preview button on the File tab.

DXSpreadsheet_PrintPreviewButton

Note

The WPF Spreadsheet uses the DXPrinting Library to preview its contents. Refer to the Printing article to learn more about the SpeadsheetControl’s printing capabilities.

See Also