Convert DOC to DOCX still gives Compatibility Mode when opening file in Word 2016

Hi,

We are converting old doc files to docx files. After the conversion when we open the converted document Word still shows the “Compatibility Mode” warning in the title bar.
Is this expected?

We load the doc document from a stream and write it back to a stream.

Hi Paul,

Thanks for your inquiry. Please use OoxmlCompliance.Iso29500_2008_Strict as shown below to get the desired output.

Document doc = new Document(MyDir + "in.doc");
OoxmlSaveOptions options = new OoxmlSaveOptions();
options.Compliance = OoxmlCompliance.Iso29500_2008_Strict;
doc.Save(MyDir + "Out 16.11.0.docx", options);