I am new here and I am looking at using DocX to create and edit a word document from a word template file that I have created. Using word I would do the following:
Word.Document oWordDoc = new Word.Document();
oTemplatePath = "C:\filename.dot";
oWordDoc = WordApp.Documents.Add(ref oTemplatePath, ref oMissing, ref oMissing, ref oMissing);
Using DocX.Create() I do not have an option to specify a template.
Thanks for your help.
Oct 19, 2010 at 8:48 AM
using DocX you can load the template make your changes and then save it as a new document.
using(DocX document = DocX.load("template.docx"))
// Add to document here
Is this the kind of functionality you are looking for?