I'm new to C# and Windows Forms and I would like to save a PictureBox
with labels in it in JPEG format.
This is my code so far:
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "JPG(*.JPG)|*.jpg";
if(sfd.ShowDialog() == DialogResult.OK)
{
pictureBox1.Image.Save(sfd.FileName,
System.Drawing.Imaging.ImageFormat.Jpeg);
}
There are labels in the picturebox, but they are not saved as well. Do you have any idea?