views:

276

answers:

2

Spreadsheetgear provides ability to create PrintPreview window - using WorkbookView.PrintPreview().
But it seems impossible to modify that window. That function returns void and there are no properties to control the visual content of that window.

Please, say me I'm wrong.... Have I missed something?

A: 

SpreadsheetGear 2008 uses the .NET PrintPreviewDialog to implement the WorkbookView.PrintPreview method.

Unfortunately, SpreadsheetGear does not provide access to the PrintPreviewDialog or any way to modify it's look or behavior. We prioritize features based on user feedback and this has not made it to the top of the list yet.

Joe Erickson
A: 

SpreadsheetGear 2009 V5.1 adds enhanced printing features including a new public WorkbookPrintDocument class which you can use with a custom PrintPreview window.

There are also new samples in the SpreadsheetGear Explorer samples for C# and VB which demonstrate creating your own custom PrintPreview window using the new WorkbookPrintDocument class. You can find the Print Preview samples in the SpreadsheetGear Explorer under Printing -> Advanced.

Joe Erickson