Paint on PictureBox

D

Drew

Is there a way to paint directly on a picturebox control?
(Just need to draw some rectangles and text on top of the picture)

Should I try to create my own control which extends PictureBox
and override the OnPaint method?

Thanks,

Drew
 
T

Tim

Just load the image into a Bitmap, get the graphics
object for the bitmap and draw.

Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top