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

Free Support Forum - aspose.com

Insert an image into a word document

we want to add an image stored in Base64 in a SQL Server database into a word document.

1/ the image [1] displays the fields of a word document showing a field named SignaturePath : an absolute path to the image : ‘SignaturePath’, ‘{ MERGEFIELD SignaturePath * MERGEFORMAT }’

QUESTION: How to “replace” the image by a dynamic image using ASPOSE.WORDS using Microsoft . NET?

[1] link to the fields of a word document (short url) : http://bit.ly/2EOgida

1 Like

@abdelkrimINL

Thanks for your inquiry. In your case, we suggest you please remove the INCLUDEPICTURE field and replace is with merge field. To insert an image mail merge field into a document in Word, select Insert/Field command, then select MergeField and type Image:MyFieldName.