We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

After converting doc to docx- new wordfile in Compatibillity Mode


I’m trying to convert all doc files to docx files, and the convertation is working.
But after the convertation, all my docx and docm files are in compatibility mode.
I’m using Aspse.Words V15.7.0.0 with following code:

Aspose.Words.Saving.OoxmlSaveOptions ooxmlSaveOptionsDoc = new Aspose.Words.Saving.OoxmlSaveOptions();
ooxmlSaveOptionsDoc.Compliance = Aspose.Words.Saving.OoxmlCompliance.Iso29500_2008_Transitional;

var docType = new Document(listItem.File.OpenBinaryStream());
docType.Save(outputStream, ooxmlSaveOptionsDoc);

Please help :slight_smile:

A big Thanks to the search function :slight_smile:

This had helped:

Hi there,

It is nice to hear from you that you have found the solution of your query. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.