Panel ya da Form ekranlarında oluşturulan objeleri image olarak aktarma
int width = pnlFlowDiagram.Size.Width;
int height = pnlFlowDiagram.Size.Height;
Bitmap bm = new Bitmap(width, height);
pnlFlowDiagram.DrawToBitmap(bm, new Rectangle(0, 0, width, height));//pnlFlowDiagram=panel
SaveFileDialog sf = new SaveFileDialog();
sf.Filter = "JPEG Image (.jpeg)|*.jpeg|Png Image (.png)|*.png|Tiff Image (.tiff)|*.tiff|Wmf Image (.wmf)|*.wmf";
sf.ShowDialog();
var path = sf.FileName;
bm.Save(path, ImageFormat.Bmp);