>> Is it possible to obtain the contents of a canvas and place it back >> into a Picture object? Sort of the opposite of double-buffering. >> Without knowing what has been drawn on the canvas, I want to take a >> "snapshot" of what the canvas few. I hope that makes sense, I >> don't feel like I'm explaining myself correctly.
Makes no sense to me, and I hate to answer a question that lacks such enthusiasm (canvas few?), but what the heck. :) The BackDrop property of a Canvas is its picture object. Drag a canvas to a window, in its window paint event, Dim p As Picture p = NewPicture(Canvas1.Width, Canvas1.Height, 24) p.Graphics.DrawPicture Canvas1.Backdrop, 0,0 g.DrawPicture p, Canvas1.Left, Canvas1.Top Or subclass a canvas and give it a picture property and draw its backdrop in to it? Gosh there are many ways to do this ... -- Thomas C. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
