VB中font怎么在代码中设置

如题所述

设置字体名:
Text1.Font.Name = "微软雅黑"
设置字号:
Text1.Font.Size = 14
设置粗体:
Text1.Font.Bold = True
设置斜体:
Text1.Font.Italic = True
设置下划线:
Text1.Font.Underline = True
设置删除线:
Text1.Font.Strikethrough = True
温馨提示:答案为网友推荐,仅供参考
相似回答