Hello Aspose team,
I am currently evaluating aspose slides for .net.
I would like to know if I can convert an html file ( that I previously exported with Aspose ), to an Aspose Slide. I tried using the method “AddFromHtml” of the Slides collection, but it results in an empty slide.
Attached files for your refference ( Original ppt file, exported html from ppt, converted ppt file from html using .AddFromHtml ).
Thank you,
Vali
Hi Vali,
I have observed your comments. I request to you please share the sample project so that we may assist you in your requirements. I like to share when you save presentation as HTML, an entire presentation is saved as HTML. However, when you import HTML to presentation, you can only import HTML text inside text frame. so there is difference between saving presentation to HTML and then reading back that HTML in Aspose.Slides presentation.
Hi Team,
Please find attached requested sample project. Note that the project can not be built, as the nuget packages were not included, because of the size of the archive.
I’ve also attached a test pptx file that we use in our evaluation.
Our goal is to convert a slide from a presentation to HTML, make some changes, and convert the HTML to a new presentation slide. The presentation file for the project might contain images, tables, charts.
Please let know if we can achieve the desired behavior.
Regards,
Vali
Hi Vali,
I have observed your requirements. I regret to inform you that it is logically not possible what you are trying to achieve. When you Import html to presentation, you can only import html text inside text frame. You can do is export text frame to html modify html and import back to presentation.
Best Regards,
Hi Adnan,
Thank you for your input.
Regards,
Vali