This project has moved. For the latest updates, please go here.

Copy header and footer with images

Jun 2, 2014 at 7:18 AM
Hi,
is there any way how to correctly copy header and footer from one file to another? If I use
toDocument.Headers.odd = fromDocument.Headers.odd;
then the header is copied, but if there is an image in the copied header then instead of correct image there is image object with text in it: "This image cannot currently be displayed".

I found similar problem in this thread: https://docx.codeplex.com/discussions/346474 but it's without solution.