Hi Team,
I am trying to load a pre-define .dotx template to the document to change the style of the document. but issue is the template is not getting applied to the document.
this is the code i am using for Aspose.Words latest dll.
Document.AttachedTemplate = “template filepath”;
Document.AutomaticallyUpdateSyles = true;
var documentStream = new MemoryStream();
Document.Save(documentStream, saveOptions);
Kindly help.
Thanks,
Hemanth