Inserting image from html

We have contacted you directly previously for support and am hoping you can assist in our current project.

Our goal is to dump html content into a word document preserving html formatting and images. I have managed to figure this out however when the document is saved to the users file system, the images appear broken. Is there a way to embed images using Mail Merge? Or is there another way to tackle this?

Thanks in advance,

Janet

Dmitry will soon reply here to help, but please provide more details. What exactly is wrong with the image, attach your code and files to this post please to speed up support.

Hi Janet,

Thank you for considering Aspose.

Sure. Basically, you should use the MailMerge.MergeImageField event and pass the image file name, a stream containing the image, or a .NET Image object inside the event handler to the event arguments. To learn more, please refer to this topic in our Programmers Guide:

https://docs.aspose.com/words/net/mail-merge-and-reporting/