wpf-118679-controls-and-libraries-spreadsheet-visual-elements-dialogs-page-setup-dialog.md
The Page Setup dialog allows end-users to specify the page orientation, paper size, margins, printout options, and it allows them to add headers and footers to a worksheet.
End-users can invoke the Page Setup dialog by clicking the dialog box launcher located in the bottom-right corner of the Page Setup group on the Page Layout ribbon tab. For an example on how to create a spreadsheet application with the ribbon UI, refer to the Create a Simple Spreadsheet Application tutorial.
The Page Setup dialog includes the following tabs.
Page
Margins
Header/Footer
Sheet
An end-user can click the Print button located at the bottom of each tab to send the worksheet to a printer, or invoke the Print Preview window to view a worksheet before printing by clicking the Print Preview button.
Note
The Black and white , Draft quality and Comments options are not taken into account when printing a document from the SpreadsheetControl. However, they are saved to a file, so you can use Microsoft® Excel® or another spreadsheet application to load and print a document.
For examples on how to specify print settings for a worksheet in code, refer to the Printing section.