W
wuyuhuai
Unregistered / Unconfirmed
GUEST, unregistred user!
我有一个矩阵,我想将它拼成一幅图
该如何实现?
我开始在VB中做的
用PictureBox控件的Pset方法,但一直无法实现
连一个点都画不出来
下面就是最简单的画一个点的程序,但无法实现
其中picture1就是picturebox控件
Private Sub Command1_Click()
Dim x As Long
Dim y As Long
Form1.Picture1.DrawWidth = 1
Form1.Picture1.DrawMode = 13
Form1.Picture1.Cls
Form1.Picture1.ScaleMode = 3
x = Form1.Picture1.Left + Form1.Picture1.Width / 2
y = Form1.Picture1.Top + Form1.Picture1.Height / 4
Form1.Picture1.PSet (x, y), RGB(255, 0, 0)
End Sub
唉,被VB的pset方法搞得烦死了
该如何实现?
我开始在VB中做的
用PictureBox控件的Pset方法,但一直无法实现
连一个点都画不出来
下面就是最简单的画一个点的程序,但无法实现
其中picture1就是picturebox控件
Private Sub Command1_Click()
Dim x As Long
Dim y As Long
Form1.Picture1.DrawWidth = 1
Form1.Picture1.DrawMode = 13
Form1.Picture1.Cls
Form1.Picture1.ScaleMode = 3
x = Form1.Picture1.Left + Form1.Picture1.Width / 2
y = Form1.Picture1.Top + Form1.Picture1.Height / 4
Form1.Picture1.PSet (x, y), RGB(255, 0, 0)
End Sub
唉,被VB的pset方法搞得烦死了