adding image
somebody please help me to add multiple image into the same picturebox control using bitblt function
please..... :'(
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ByronPosted May 15, 2007, 6:39 PM
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim g As Graphics = Graphics.FromHwnd(Me.PictureBox1.Handle) Dim i As Image = Image.FromFile("image.bmp") With g .FillRectangle(Brushes.White, 0, 0, Me.PictureBox1.Width, Me.PictureBox1.Height) .DrawImage(i, 0, 0) End With End Sub