title: Replace image in word doc using OpenXML
body: <p>Following on from my last question <a href="https://stackoverflow.com/questions/2804531/create-word-document-and-add-image-from-net-app">here</a></p>
  
  <p>OpenXML looks like it probably does exactly what I want, but the documentation is terrible. An hour of googling hasn't got me any closer to figuring out what I need to do.</p>
  
  <p>I have a word document. I want to add an image to that word document (using word) in such a way that I can then open the document in OpenXML and replace that image. Should be simple enough, yes?</p>
  
  <p>I'm assuming I should be able to give my image 'placeholder' an id of some sort and then use <code>GetPartById</code> to locate the image and replace it. Would this be the correct method? What is this Id? How do you add it using Word?</p>
  
  <p>Every example I can find which does anything remotely similar starts by building the whole word document from scratch in ML, which really isn't a lot of use.</p>
  
  <p><strong>EDIT:</strong> it occured to me that it would be easier to just replace the image in the media folder with the new image, but again can't find any indication of how to do this.</p>