private static FormattedText GetFormattedText(string s) { return new FormattedText( s, CultureInfo.GetCultureInfo("en-us"), FlowDirection.LeftToRight, new Typeface("Arial"), 13, Brushes.Black); }