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.

Spreadsheet_Examples_RibbonPrintPreview

SpreadsheetControl.ShowPrintPreview

Displays the Print Preview window with a Bar UI.

Spreadsheet_Examples_BarPrintPreview

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

PrintPreview.png

Note

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

See Also