标签: c# ms-word
我使用c#生成Word文档。
我想将模板应用于书面文档。我这样做:
object oTemplate = (object)coverPagePath; wordApp.ActiveDocument.set_AttachedTemplate(ref oTemplate); wordApp.ActiveDocument.UpdateStyles();
但标题样式仍未完全更新!只有标题1作为模板标题1样式。