[求助]PictureBox问题
在窗体中有两个pictureBox控件,一个textBox控件,pictureBox1,pictureBox2都固定大小,pictureBox2是pictureBox1的放大状态,我代码是这样写的:
Private Sub Text1_Change()
Picture1.Cls
Picture1.Print Text1.Text
Picture1.FontName = Text1.FontName
Picture1.FontSize = Text1.FontSize
Picture2.PaintPicture Picture1.Picture, 0, 0, Picture2.Width, Picture2.Height, x, y, Picture1.Width, Picture1.Height
End Sub
运行代码提示错误:invalid picture