Free Support Forum -

Document Templates


Can Aspose.Words load Word template files (.dot)?

Thank you,


Yes, Aspose.Words can open .dot files.

Since Aspose.Words 4.0 the behaviour with .dot templates has been changed a little bit:

1. If you open a .dot file with Aspose.Words, the document in memory is changed to normal document instead of a template. So when you save it using Document.Save, it will save as a normal document.

2. If you want explicit control over how the document is saved as a tempalte or normal document, you can set the Document.IsTemplate property.

Previous versions of Aspose.Words did not reset the template flag on open automatically.