// Create bitmap with appropriate size Bitmap bmpPanel = new Bitmap(myPanel.Width, myPanel.Height); // Draw the panel to this bitmap myPanel.DrawToBitmap(bmpPanel, new Rectangle(0, 0, myPanel.Width, myPanel.Height)); // Now you can do whatever you want with the bmpPanel...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)