DeleteCellColor

RevisionOptions.DeleteCellColor property

允许指定已删除单元格所使用的颜色Deletion. 默认值是Pink.

public RevisionColor DeleteCellColor { get; set; }

例子

展示如何使用插入/删除单元格修订颜色。

Document doc = new Document(MyDir + "Cell revisions.docx");

doc.LayoutOptions.RevisionOptions.InsertCellColor = RevisionColor.LightBlue;
doc.LayoutOptions.RevisionOptions.DeleteCellColor = RevisionColor.DarkRed;

doc.Save(ArtifactsDir + "Revision.RevisionCellColor.pdf");

也可以看看