I am formatting text in a table cell during a mail merge. A snippet from a select case statement in the fieldmerging event is provided below. I am having an issue in that for the case "Action Suggested" only the word "Action" has a white font, while "Suggested" is black. For the case "Red", which has an underlying value of "(0.34)", the result has the initial parens white and the remainder black. I am using version 10.0.0.0 of aspose.words. Am I doing something incorrectly?
case "ACTION SUGGESTED":
case "RED":
cell.CellFormat.Shading.BackgroundPatternColor = badColor;
foreach (Run run in cell.GetChildNodes(NodeType.Run, true))
{
run.Font.Color = Color.White;
}
break;