I don't think that will help. DrawImage draws images over the graphics
objects. Even though the Bitmap class has a constructor that accepts
Graphics object as a parameter it uses it only to initialize certain
properties, but it doesn't copy the pixels.
If it goes for Graphcis objects created for controls I don't think in .NET
1.x there is managed solution to the problem. .NET 2.0 introduces
Graphics.CopyFromScreen that can be used in some cases to accomplish this.
If the graphcis object is for an image then use the image instead and copy
the image over the new graphics.
--
Stoitcho Goutsev (100)
"Lau Lei Cheong" <le****@yehoo.com.hk> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Don't Graphics.DrawImage() help?
"perspolis" <re*****@hotmail.com>
¼¶¼g©ó¶l¥ó·s»D:ep**************@TK2MSFTNGP05.phx.g bl... Hi all
is it possible in C# to copy content of a graphics object to another
like BitBlt API??
thanks