We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to find text highlight color of a run in aspose word document using C#?

@alexey.noskov How to find text highlight color of a run in aspose word document?
sample document also attached hereSource font diff.docx (12.5 KB)

@vineeth.pv You can use Font.HighlightColor property to get highlight color:

Document doc = new Document(@"C:\Temp\in.docx");

foreach (Run r in doc.GetChildNodes(NodeType.Run, true))
    Console.WriteLine("Run text '{0}'; Highlight Color: '{1}'", r.Text, r.Font.HighlightColor);