|
-
Mar 2nd, 2003, 04:37 AM
#1
Thread Starter
New Member
(About GDI+) How to clear the image printed by Graphics.DrawImage()
How can I clear the image which is printed by the "Graphics.DrawImage()" on the form.
Dim gra As Graphics
gra = Me.CreateGraphics()
Dim path As String
path = "e:\test2.bmp"
Dim picture As Image
picture = New Bitmap(path)
gra.DrawImage(picture, 0, 0)
I just want to erase the picture(test2.bmp) on the form.
And I dooooooon't want to use me.refresh(), because it's in a very low efficiency.
please give me the right code! Thanks very much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|