public static a.Run SetFont(this a.Run run, Font font, Color?fontColor = null) { var runProps = run.GetFirstChild <a.RunProperties>(); if (runProps == null) { runProps = new a.RunProperties(); run.PrependChild(runProps); } runProps.SetFont(font, fontColor); return(run); }