Hi,
We are using Aspose.words 17.3.0.0.
We need to make the deleted text color dynamic. Basically it is database driven. We tried and did not get success.
Code has been pasted below. I must be doing something wrong.
Document doc = new Document(“D:\temp\in.docx”);
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Document.LayoutOptions.RevisionOptions.InsertedTextColor = RevisionColor.DarkBlue;
builder.Document.LayoutOptions.RevisionOptions.CommentColor = RevisionColor.DarkBlue;
builder.Document.LayoutOptions.RevisionOptions.RevisedPropertiesColor = RevisionColor.DarkBlue;
builder.Document.LayoutOptions.RevisionOptions.DeletedTextColor = RevisionColor.DarkBlue;
builder.Document.LayoutOptions.RevisionOptions.MovedFromTextColor = RevisionColor.DarkBlue;
builder.Document.LayoutOptions.RevisionOptions.MovedToTextColor = RevisionColor.DarkBlue;
builder.Document.Save("D:\\temp\\out.docx");