Parse colors used in Word document, use as backcolor for ListViewItem - wrong color
问题 I'm trying to list all font colors used in a Word document, display them as colored ListViewItems. I can parse the doc and get all unique font colors. What does not work? - Getting the ListViewItems in the correct color. Grey35 appears as yellow, green as dark green. Here are my active code sections for that var maxnum = doc.Words.Count; var ind = 0; foreach (Word.Range wd in doc.Content.Words) { if (!string.IsNullOrEmpty(wd.Text.Trim('\r', '\n', ' '))) { ind++; bkwParseColors.ReportProgress