Hi,
Is it possible to convert a pptx file to pdf? Any time I try to load my pptx file (coming from SharePoint) as a stream, I get an unsupported file format exception.
here is my code
1 Presentation pres = new Presentation();
2 pres.LoadFromStream(pptxFileStream, Spire.Presentation.FileFormat.PPT);
3 var newFileStream = new MemoryStream();
4 pres.SaveToFile(newFileStream, Spire.Presentation.FileFormat.PDF);
The error occurs on line 2.