Hi Banc,
The version of the apsose.slides is the 7.5.1 we downloaded it only a few days ago.
I have attached a sample presentation along with a PDF of the presentation generated by the Aspose code. The code used to generate the pdf and save to disk is identical to the code used to generate the pdf and send to the ipad except it saves it to disk instead of a memory stream.
The code is as follows:
Aspose.Slides.License license = new Aspose.Slides.License();
license.SetLicense("Aspose.Total.lic");
Presentation slides = new Presentation(fileObj);
slides.Save(mems, Aspose.Slides.Export.SaveFormat.Pdf);
fileObj.Close();
mems.Position = 0;
return mems;Aspose.Slides.License license = new Aspose.Slides.License();
license.SetLicense("Aspose.Total.lic");
Presentation slides = new Presentation(fileObj);
slides.Save(mems, Aspose.Slides.Export.SaveFormat.Pdf);
fileObj.Close();
mems.Position = 0;
return mems;
This code is almost identical to the code used for the docs and excel file types:
Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense("Aspose.Total.lic");
Document doc = new Document(fileObj);
doc.Save(mems, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(Aspose.Words.SaveFormat.Pdf));
fileObj.Close();
mems.Position = 0;
return mems;Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense("Aspose.Total.lic");
Document doc = new Document(fileObj);
doc.Save(mems, Aspose.Words.Saving.SaveOptions.CreateSaveOptions(Aspose.Words.SaveFormat.Pdf));
fileObj.Close();
mems.Position = 0;
return mems;
We are sending these documents to the ipad app to be rendered in the pspdfkit.
Hi Banc,
Thank you for your time. Could you verify that the code snippet being used to convert the presentation is correct? Additionally, is there any other method that could be used to convert the pdf and then pushed to the memory stream?
Thanks
Hi Banc,
Thank you very much for you advice Mudassir. We actually tried that and it helped us narrow down the issue. We have corrected the problem we are having and everything is working properly. Thanks so much.
Hi Banc,