Back to Devexpress

How to: Show a Print Preview Form for a Document

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

latest1.7 KB
Original Source

How to: Show a Print Preview Form for a Document

  • Apr 01, 2021

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 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

Print Spreadsheet Documents

How to: Print a Workbook