Adding image
somebody please help me to add multiple image into the same picturebox control using bitblt function
please..... :'(
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Byron7 pointsPosted May 15, 2007, 2:39 PM EDT
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