On Apr 20, 2007, at 22:42 UTC, Arnaud Nicolet wrote: > You can add this code, no? > > newPicture.Mask.Graphics.DrawPicture oldPicture.Mask,0,0
It depends on your goal. If you want to actually copy the oldPicture, then you have to: 1. draw the mask into a temp picture 2. fill the mask with solid black 3. draw your now-opaque picture into the copy 4. draw the mask copy into the copy's mask 5. draw the mask copy back into the original mask However, I don't think the OP was trying to copy a picture... he just wanted to get the appearance of the picture, as it would be drawn somewhere. In that case, if masks are involved, then you just have to decide what sort of background you think the picture should appear on, make sure your new picture contains that background, and then draw the picture on top. Best, - Joe -- Joe Strout -- [EMAIL PROTECTED] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
