T
thippu
Guest
- I'm drawing shapes on the PictureBox control using Paint event of it.
- May I know how to save drawn shapes only on a bitmap without the picture box image(current).
- I don't want to save the PictureBox image.
- I have created the bitmap from the image(White background image) for saving a drawing on it.
- I want to save it on created bitmap image(4).
Image WhiteBackGroundImage=Image.FromFile("path");//fetching white back ground image.
Bitmap pic=new Bitmap(WhiteBackGroundImage);//creating bitmap
pictureBoxImage.DrawToBitmap(pic,pictureBoxImage.ClientRectangle);
pic.Save("path", ImageFormat.Png);
thippu
Continue reading...