VB.net 里已经没有了打印字符串 Print 那个函数了,假设想输出到屏幕的话,能够用 DrawString,示例: Dim g As Graphics = Me.CreateGraphics Dim mBrush As New SolidBrush(Color.Red) Dim mFont As New Font("宋体", 18) g.DrawString("visual basic", mFont, mBrush, 0, 10)
0
VB.net 里已经没有了打印字符串 Print 那个函数了,假设想输出到屏幕的话,能够用 DrawString,示例: Dim g As Graphics = Me.CreateGraphics Dim mBrush As New SolidBrush(Color.Red) Dim mFont As New Font("宋体", 18) g.DrawString("visual basic", mFont, mBrush, 0, 10)