PPT to PDF: Content of PPT file is removed (C# .NET)

Hi,

I’m working with Aspose lib to test some files, then I’ve met a strange case. When I load a PPT file and save it to PDF format, the content is removed all.

My samples code:

FileStream fileStream =  new FileStream(@"D:\TEST\problem_sample.ppt", FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Presentation presentation = new Presentation(fileStream);
presentation.Save(@"D:\TEST\output.pdf", SaveFormat.Pdf);

I’m using lastest version of Aspose Slides 19.4.0.

Here is my sample: TEST.zip (185.6 KB)

Please take a look and give some advise.

Thanks you,

Dung H.Nguyen

@dunghnguyen,

I have worked with the sample presentations shared by you and have not been able to observe the issue on my end using following sample code. There seems no issue in exported PDF.

   Presentation pst = new Presentation(path+ "problem_sample_2.ppt");
   pst.Save(path + "saved2.pdf", Aspose.Slides.Export.SaveFormat.Pdf);

saved1.pdf (38.2 KB)
saved2.pdf (36.5 KB)