Hi Aspose,
Hello Dear,
I have worked with the presentation file shared by using Aspose.Slides for .NET 5.0.1. I have been successfully able to generate the PDF file. Can you please trying using the mentioned product version with the PPT file you have shared. Please share with us, if the issue still persists.
Thanks and Regards,
Hello Dear,
I have worked with the presentation file shared using the following code snippet with mentioned version of Aspose.Slides for .NET. For your kind reference, I have also shared the generated PDF here: https://apps.banckle.com/file/g/?v=c79f6MApU90&f=ASP.Net+Web+Controls+and+Web+Parts.pdf.
Please share, if you still feel any issue.
FileStream fileStream = File.OpenRead(“D:\Aspose Data\ASP.Net+Web+Controls+and+Web+Parts.ppt”);
Presentation templatePres = new Presentation(fileStream);
fileStream.Flush();
fileStream.Close();
MemoryStream ms = new MemoryStream();
templatePres.Save(ms, Aspose.Slides.Export.SaveFormat.Pdf);
FileStream outStream = File.OpenWrite(“D:\Aspose Data\ASP.Net+Web+Controls+and+Web+Parts.pdf”);
ms.WriteTo(outStream);
outStream.Flush();
outStream.Close();
Thanks and Regards,