I can't seem to get exporting to PDF using a stream to work always get an error: $exception {"Specified method is not supported."} System.Exception {System.NotSupportedException}
This was working fine with previous version of Aspose.slides (2.6.5) now it seems to have broken in 4.0.1
Can you post an example of saving PPT to PDF (just using slides not aspose.pdf) and using a stream. If I save it to a file it works just fine. I tried SavetoPDF and also just save with export options.
Presentation pres1 = new Presentation(PPTfile);
//'Setting the content type of the Http Response
Response.ContentType = "application/pdf";
//'Appending the header of the Http Response to contain the presentation file name
Response.AppendHeader("Content-Disposition", "attachment; MyPreso.pdf");
//'Flushing the buffers of Http Response
Response.Flush();
//'Accessing the output stream of Http Response
System.IO.Stream st = this.Response.OutputStream;
Aspose.Slides.Export.PdfOptions opts = new Aspose.Slides.Export.PdfOptions();
opts.SaveMetafilesAsPng = false;
opts.JpegQuality = 90;
//'Writing the presentation as a PPT file
pres1.SaveToPdf(st);
//pres1.Save(st, Aspose.Slides.Export.SaveFormat.Pdf,opts);
//'Closing the Http Response
Response.End();