Back to Devexpress

How to: Show a Print Preview Form for a Document

windowsforms-15529-controls-and-libraries-spreadsheet-examples-printing-how-to-show-a-print-preview-form-for-a-document.md

latest1.6 KB
Original Source

How to: Show a Print Preview Form for a Document

  • Jan 23, 2019

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.

| |

SpreadsheetControl.ShowPrintPreview

|

Displays the Print Preview window with a Bar UI.

|

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

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

Print Spreadsheet Documents