WorkBook stream to Http Response as PDF not available

I am using Aspose Cells 7.2.1.0 and am trying to do this (from the demo code):

workbook.Save(this.Response, "Report.pdf", ContentDisposition.Attachment, new PdfSaveOptions());

Unfortunately it won't compile, "no overload for save takes 4 arguments.

I only see these options in object browser:

Save(System.IO.Stream, Aspose.Cells.SaveOptions)

Save(System.IO.Stream, Aspose.Cells.SaveFormat)

Save(string, Aspose.Cells.SaveOptions)

Save(string, Aspose.Cells.SaveFormat)

Save(string)

How can I stream my workbook to PDF using ASP.NET?

Cheers

Hi,

Please download and try the latest version:
Aspose.Cells
for .NET v7.2.1.5
. It will fix your problem.

If you are using a Major version i.e

Aspose.Cells for .NET 7.2.1
then please use the DLL under the directory “net2.0” and not “net3.5_ClientProfile”.

And please check the readme.txt under the directory
“Bin”.

Please see this image for more help.

Thanks guys.

You're the best!