RevisionOptions does not work for DOCX using C#

I am using the same code to highlight the inserted and changed text color but it doesn’t work actually.
revisionOptions.InsertedTextColor = RevisionColor.Green;
revisionOptions.InsertedTextEffect = evisionTextEffect.Italic;
doc1.Compare(doc2, “User2”, DateTime.Now);
doc1.Save(MyDir + @“Out v16.10.0.docx”);


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output PDF file that shows the undesired behavior.
  • Please attach the expected output PDF file that shows the desired behavior.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Hi Tahir,
Please find the attached documents where Input1 is compared against the Input2 and I have coded to highlight the inserted text in Green but it has not changed the color of inserted text in output file. (39.3 KB)


Please note that track changes information is MS Word (Application) level setting which is not stored in the document and therefore cannot be controlled by Aspose.Words. This is completely controlled by the viewer which opens the document. If you want to save document to PDF, you can use members of RevisionsOptions class.