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

Free Support Forum - aspose.com

Behind Text Formatted Image disappear from template


i have the following problem,
when i am trying to add any image to word template file with behind text format then use this template to generate a .docx file the image simply disappear,

the code i use is simple
Dim doc As Aspose.Words.Document = New Aspose.Words.Document(“C:\AsposeTest\Temp.docx”)
doc.MailMerge.Execute(New String() {“Test”}, New String() {“Done”})
doc.Save(“C:\AsposeTest\t.docx”, Aspose.Words.SaveFormat.Docx)


the file “C:\AsposeTest\Temp.docx” has behind text image and merge field
the Result file “C:\AsposeTest\t.docx” has only the data in merge field and no image

I Need To Keep The Image In Result File.

- i use this dll “Aspose.Words”
- the dll version is “2008.05.15”

Hi Mohammed,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Could you please attach your sample template and output document here for testing? I will check the issue on my side and provide you more information.

Best regards.

Thanks for quick replay,

and about required files they are attached with this replay as following:

1- Temp.docx - The Template file which has the behind text image
2- t.docx - The Result file after merge the data

Hi Mohammed,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words (9.0.0). You can download this version from here:


Best regards,