Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

Copy Header code sample not working.

$
0
0

Hi,

I am trying to add a header to a word document as per code samples on MSDN.

https://docs.microsoft.com/en-us/office/open-xml/how-to-replace-the-header-in-a-word-processing-document

I am getting following error after adding the header to the document.

Word found unreadable content in documentTest1.docx.

Also, if i select yes to recover doc, the header content is not loading correctly as per original header.

Getting message picture cant be displayed.



Is this something wrong with the code sample or a bug in the SDK?

I am using "Microsoft Open XML SDK 2.5".

Kindly, help.

Thanks,

Sachin R. Chavan.


Sachin R. Chavan.


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>