mardi 7 février 2023

c# how to show checkbox on picture and save to bitmap

How it should be

'how to show checkbox on saved bitmap?'

reality

     private void picWyslij_Click(object sender, EventArgs e) 
{int width = panel12.Size.Width; int height = panel12.Size.Height;
   Bitmap bm = new Bitmap(width, height);
        panel12.DrawToBitmap(bm, new Rectangle(0, 0, width, height));

        bm.Save(@"C:\Users\zooma\Desktop\IMAGE\TestDrawToBitmap.bmp", ImageFormat.Bmp);
  }



Aucun commentaire:

Enregistrer un commentaire