I do not want to use the paint for the picturebox, ex. private sub PictureBox1_Paint().
how can I do this? please help.
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.
Hirendra SisodiyaPosted Nov 25, 2010, 8:47 AM
than you can use
Dim g As Graphics
g = Graphics.FromImage(BMP)
Dim dstRect As New Rectangle(x, y, bmp.Width, bmp.Height)
g.DrawImage(bmp, dstRect, 0, 0, bmp.Width, bmp.Height)
thanks
please mark as answer if it helps