求助啊
vb.net吧
全部回复
仅看楼主
level 3
dk5280741 楼主
2013年05月15日 08点05分 1
level 6
Private Sub ConstructFontWithString(ByVal e As PaintEventArgs)
Dim font1 As New Font("Arial", 20)
e.Graphics.DrawString("Arial Font", font1, Brushes.Red, New PointF(10, 10))
End Sub
↑这是MSDN给出的例子
font类字体需要由构造器指定,除了Font("xxx", xxx)以外还有别的重载
参见
http://technet.microsoft.com/zh-cn/library/system.drawing.font.aspx
2013年05月15日 09点05分 2
level 6
RichTextBox1.Font = New System.Drawing.Font("SimKai", 25)
2013年05月18日 05点05分 3
level 6
richtextbox1.Font = New Font("楷体", 26, FontStyle.Bold)
richtextbox1..ForeColor =Color.Blue
2013年05月22日 08点05分 4
1