Free Support Forum - aspose.com

Save Method with FileFormatType.AsposePdf

(Aspose.Excel Version 2.8.0.0 Eval)

I am using the Save method overloaded as:

Save(string,SaveType,FileFormatType,HTTPResponse)

with the value for SaveType being FileFormatType.AsposePdf. My page comes back with an "Invalid File Format Requested."

I have an eval copy of Aspose.PDF installed and a reference with Copy=local added to my project.

Should this work? Is it a licensing issue?

Please check http://www.aspose.com/Products/Aspose.Excel/Guide/Xls2Pdf.html.

If you want to convert an Excel file to Pdf file and send it to client, please use Aspose.Excel to save the file as Aspose Pdf xml format in disk or in Memory. Then you can use Aspose.Pdf to convert this xml file to pdf file and send to client.