InsertCellColor

RevisionOptions.InsertCellColor property

允许指定插入单元格使用的颜色Insertion. 默认值是Blue.

public RevisionColor InsertCellColor { 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");

也可以看看