摘要:
private double MeasureTextWidth(string text, double fontSize, string fontFamily) { FormattedText formattedText = new FormattedText( text, System.Globalization.CultureInfo.InvariantCulture, FlowDirection.LeftToRight, new Typeface(fontFamily.ToString()), fontSize, Brushes.Black ); returnformattedText. 阅读全文
posted @ 2012-12-05 02:32
hikarusun
阅读(632)
评论(0)
推荐(0)