Hi,
I am using the following code to print a sheet. It works well except I would like to be able to hide the dialog “Printing page 1…”.
I found how to do it with Aspose.Words (overriding the PrintControler) but I don’t know how to find the equivalent on Cells ?
Thanks
Aspose.Cells.Workbook wb = new Aspose.Cells.Workbook(@“f:\temp\testprint.xlsx”);
Aspose.Cells.Rendering.ImageOrPrintOptions options = new Aspose.Cells.Rendering.ImageOrPrintOptions();
options.PrintingPage = Aspose.Cells.PrintingPageType.Default;
options.CustomQueryPageSettingsEventHandler += new QueryPageSettingsEventHandler(AwpDoc_QueryPageSettings);
Aspose.Cells.Rendering.SheetRender sr = new Aspose.Cells.Rendering.SheetRender(wb.Worksheets[0], options);
sr.ToPrinter(@"\…");