Easiest way to change font and font size

后端 未结 6 1637
迷失自我
迷失自我 2020-12-02 17:01

which is the easiest way to change Font size with C#.

with java it can all be done easily by calling Font constructor with necessary arguments.

JLab         


        
6条回答
  •  醉酒成梦
    2020-12-02 17:21

    This should do it (bold as well);

    label1.Font = new Font("Serif", 24,FontStyle.Bold);
    

提交回复
热议问题