Example #1
0
        public static string GetText(this InlineCollection ic)
        {
            var sb = new StringBuilder();

            foreach (var run in ic.OfType <Run>())
            {
                sb.Append(run.Text);
            }
            return(sb.ToString());
        }