1、打开word 的修订模式
Application docapplication = new Application() { Visible = false };
docapplication.Options.SaveInterval = 0;
var doc = docapplication.Documents.Open(Dfileurl);
doc.TrackRevisions = true;
doc.Close()
2、关闭修订模式
Application docapplication = new Application() { Visible = false };
docapplication.Options.SaveInterval = 0;
var doc = docapplication.Documents.Open(Dfileurl);
///接受并中止修订
doc.AcceptAllRevisions();
doc.TrackRevisions = false;
doc.Close()