Looking for openxml Answers? Try Ask4KnowledgeBase
Looking for openxml Keywords? Try Ask4Keywords

openxmlHow to add an image to a Word Document.


Introduction

Inserting an image in a word document using OpenXml require two actions: add the image inside the openxml and refer to the image in your Document

Remarks

if you only add the image to the openxml structure without refering it in the Word Document, the next time you "open / save" your document, the image file will be deleted.

Word delete all orphan references. So make sure to add the image in the Word Document otherwise you will need to redo all the steps.