I\'ve been searching for hours and I just can\'t seem to find a solid answer for this. I have an existing document with content controls that I need to edit the text in with ex
Well, I kind of brute forced my way to the answer, but it works.
List runProps = element.Descendants().ToList();
foreach (RunProperties rp in runProps)
{
rp.Color = new DocumentFormat.OpenXml.Wordprocessing.Color() { Val = "0EBFE9" };
}
If anyone has a more elegant solution please add it and I'll upvote it.