We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Insert text with images in a templated word


I have a question about the possibility to insert text with images in a templated word document.

For now, the users of my web site could only insert text in the description of an element. This element can be exported to PDF, via Aspose.Words and a templated docx.
The last thing we integrated is the possibility to add images in this description. We now want the images to appear in the exported PDF.

In a table cell, we have the following element in the templated word : <<[item.Description]>>. We want to insert the text with image(s) instead. It is stored as html in our database (we use tinymce to insert images in the description).

Has anyone faced the same issue ? Do you have an idea to do it ?

Thanks by advance for your answer.


Thanks for your inquiry. You can insert image and HTML into template document using LINQ Reporting. Please read the following article.
Inserting Images Dynamically
Outputting Expression Results