Draw image in memory

  • Thread starter Thread starter Danilo
  • Start date Start date
D

Danilo

Hi,
I need draw a image in memory with the method Like drawrectange,drawstring,
ecc.. next i want put this image in a form Graphics.

thanks
 
dim img as Bitmap
dim gr as graphics=graphics.fromimage(img)
gr.drawRectangle(.....)

gr.dispose()

Now you have a bitmap drawed just ready to draw it on paint event of a
window

Regards,
Crirus
 
Back
Top