title: Print the content of tablelayoutpanel after clicking a button C#
body: <pre><code>private void bt_saveImage_Click(object sender, System.EventArgs e)   
  {
     using (Bitmap printImage = new Bitmap(tlp.Width, tlp.Height))
     {
         tlp.DrawToBitmap(printImage, new Rectangle(0, 0, printImage.Width, printImage.Height));                   
         printImage.Save( "C:/image.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
     }              
     throw new System.NotImplementedException();       
  } 
  </code></pre>
  
  <p>I have error saying "ExternalException is unhanlered; A generic error occurred in GDI+." on 
      <code>"printImage.Save( "C:/image.jpg",System.Drawing.Imaging.ImageFormat.Jpeg)</code>"</p>
  
  <p>Thanks for help!</p>