Free Support Forum - aspose.com

Limitations to the eval version

Good night.

I'm receiving some error messages on my asp.net app, using powerpoint 2007 files while expoting it with aspose.slides. Is is a limitation from the eval versoin?


This message was posted using Aspose.Live 2 Forum

Hi Esio,

Thanks for your interest in Aspose.Slides.

Well, there is no such limitation. If you need to export MS PowerPoint 2007 files from ASP.NET application to the client browser, the following code can perform the desired operation:

Aspose.Slides.Pptx.PresentationEx pres = new PresentationEx("coy.pptx");

this.Response.AppendHeader("Content-Disposition", "attachment; filename=coy.pptx");

this.Response.Flush();

System.IO.Stream st = this.Response.OutputStream;

pres.Write(st);

this.Response.End();

Hope this will be helpful.

Thanks and Best Regards