【发布时间】:2016-02-03 08:34:14
【问题描述】:
我尝试通过代码打开两个文档,让用户可以看到它们以比较版本(合法黑线)- 文档的编辑将在可见文档中完成。
这是我的代码片段:
objectoMissing = System.Reflection.Missing.Value;
//Start Word and create a new document.
Microsoft.Office.Interop.Word._Application oWord;
Microsoft.Office.Interop.Word._Document oDoc;
oWord = new Microsoft.Office.Interop.Word.Application();
oWord.Visible = true;
oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
oWord.DefaultLegalBlackline.....
【问题讨论】:
标签: c# .net ms-word automation office-interop