使用insert更改字符的字体大小

时间:2014-03-09 23:07:30

标签: c# winforms insert

如何更改Word.Insert中“_”的字体大小?

string Word = "yellow";
 Word.Insert(2, " _ ");

1 个答案:

答案 0 :(得分:1)

假设它在标签中(来自评论):

yourformName.YourLabel.Content = Word;
yourformName.YourLabel.Font = new Font("Arial", fontSize ,FontStyle.Bold);

请参阅Easiest way to change font and font size with visual C#