How can I convert graphics object to bitmap object using C#?
Bitmap myBitmap = new Bitmap(width, height, myGraphics);
Alternatively:
Graphics myGraphics = Graphics.FromImage(myBitmap); // some code with draw on myGraphics myGraphics.Dispose();
1.4m articles
1.4m replys
5 comments
57.0k users