We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Data table

We are using aspose library to generate excel reports. in that i am going to print as well as data also. I am unable to do that please help me i am going to print charts.

This message was posted using Email2Forum by Merit.


Thanks for your inquiry.

Please use Worksheet.SheetToPrinter() method to print your desired worksheet(s) in the workbook.


Workbook book = new Workbook();
book.Open(@"D:\test\chart test.xls");
Worksheet sheet = book.Worksheets[0];
sheet.SheetToPrinter(strprintername); //where strprintername is a variable that has the installed printer name.

Thank you.