vb.net-picturebox输出文本
程序员文章站
2022-04-29 09:52:50
...
Dim mypic As PictureBox = mypics(myii, myjj) Dim myimage As Image = New Bitmap(32, 32) Dim g As Graphics = Graphics.FromImage(myimage) Dim mysf = New StringFormat() mysf.Alignment = StringAlignment.Center mysf.LineAlignment = StringAlignment.Center Do While True myi += 1 Try g.DrawString(myii, New Font(fontlist(myi - 1), 20), New SolidBrush(Color.Red), New PointF(16, 16), mysf) Exit Do Catch ex As Exception Continue Do End Try Loop mypic.Image = myimage
上一篇: QQ2009版本 无法安装 的问题分析
下一篇: 0.Java软件编程开篇