Link to home
Start Free TrialLog in
Avatar of eternal_21
eternal_21

asked on

Copy System.Drawing.Graphics Objects

Is there any way to copy (as in BitBlt), from one Graphics object to another without resorting to API calls?
ASKER CERTIFIED SOLUTION
Avatar of GrumbleBot
GrumbleBot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eternal_21
eternal_21

ASKER

This is a good example of copying from a Bitmap to a Graphics object... but I need to go from one Graphics object to another.
sorry about that. Hmm I'm pretty sure that the only way you will be able to do what you want is using BitBlt and get the hDC fo the graphics object. Here is an example in VB. Should be easy to modify to C#.

Sorry I couldn't help more. Hopefully there is an expert out there that has a easier way to do this.

Good luck