Spread Windows Forms 8.0 Product Documentation
Providing a Preview of the Printing

You can preview what the printed pages will look like for a sheet and you can allow your end user to preview the printing. Use the OwnerPrintDraw method of the FpSpread class to provide a print preview dialog with options for previewing the pages before printing.

Two additional printing features are: the PrintPreviewShowing event and the ability to set your own print preview dialog with the SetPrintPreview method (and the corresponding GetPrintPreview method), all members of the FpSpread class. The PrintPreviewShowing event fires prior to displaying the dialog and supplies you with both the PreviewDialog and the PreviewControl in its event parameter list so you can make on-the-fly modifications to the PrintPreviewDialog and the PrintPreviewControl objects.

The print preview dialog allows you to zoom in and out to change the scale of what you see in the preview. You can set the preview to display one, two, four, or six pages of the spreadsheet per printed page. You can print from the print preview dialog or close the dialog when done.

You can also print and preview the printing within the Spread Designer. For more information on printing and previewing in Spread Designer, refer to Printing a Sheet from Spread Designer and Previewing a Sheet in Spread Designer.

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback