Mudassir:
Hi Joms,
I have worked with your presentation using Aspose.Slides for .NET 5.8.0 and have been able to generate the PDF successfully using following code. Kindly use the following code in your application.
using Aspose.Slides;
Presentation pres=new Presentation("PPT+with+WMF+Image.pdf");
pres.Save("PPT+with+WMF+Image.pdf", Aspose.Slides.Export.SaveFormat.Pdf);
Please share, if I may help you further in this regard.
Many Thanks,
Hi,
Sorry for the late reply. I have downloaded the latest Aspose.Slides (5.8.0) and used your snippet but it still didn't work.
docPpt = new Aspose.Slides.Presentation(Server.MapPath(fullFilePath));
docPpt.Save(Server.MapPath(fullFilePath + ".pdf"), Aspose.Slides.Export.SaveFormat.Pdf);
Take note also that PPTX must be handled too so that is the reason I am using
docPptx = new Aspose.Slides.Pptx.PresentationEx(Server.MapPath(fullFilePath));
docPptx.Save(Server.MapPath(fullFilePath + ".pdf"), Aspose.Slides.Export.SaveFormat.Pdf);
I have attached here the file converted to PDF but cannot be rendered.
TIA