I have a picture object in my program. Is there a handy way to display it in a canvas. I know you can get the contents of a canvas into a picture with the Drawinto method. But can I do it the other way round?
The simplest solution is to just use the Canvas’ BackDrop property
myCanvas.BackDrop = myPicture
Using the Paint event handler of the Canvas:
g.DrawPicture(MyPicture, 0, 0)
Thanks for your suggestions. I’m having to do something else urgently now. Will try your tips out tomorrow and get you feedback.
Thanks for your help. All working fine.
Mind WebCanvas doesn’t have Backdrop property.