2012-08-09 5 views

답변

2

당신은 측정 FormattedText을 사용할 수

FormattedText formattedText = new FormattedText(
    "AAAAAAAA", 
    CultureInfo.CurrentCulture, 
    FlowDirection.LeftToRight, 
    new Typeface("Arial"), 16, Brushes.Black 
); 
MessageBox.Show(formattedText.Width.ToString()); 
관련 문제