Hi,
I have a DOTM template created with Word 2010. When I create a DOCM document using Aspose Words (also tested with version 10.6), the resulting document is marked as being in Compatability Mode when opened in Word 2010.
I take it that it is because the file is in the 2007 xml format, and not in the updated 2010 xml format. Is there a way to save it using the new 2010 format, so that the users do not get the compatability message in the Word window titlebar?
Here is the very simple demo I’m using:
string templateName = @"c:\Brev_DK.dotm";
string targetName = System.IO.Path.ChangeExtension(templateName, "docm");
Document doc = new Document(templateName);
doc.Save(targetName, SaveFormat.Docm);
Regards
Thomas Bargholz