hi
i take one picturebox and load, save buttons. and picturebox height and width is 100 X 100
i load the image into picturebox and i click save button that image is saved in one folder with 100 X 100 dimensions
hpw todo it. please give a sample code. please urgent.
Thanks
Loading
Hirendra SisodiyaPosted Nov 26, 2010, 4:05 AM
try this code
Dim gr As Graphics
Dim img As Image
img = PictureBox1.Image
gr = Graphics.FromImage(img)
gr.DrawImage(img, 0, 0, PictureBox1.Width, PictureBox1.Height)
img.Save("C:\Img.bmp")
thanks
Suthish NairPosted Oct 13, 2010, 3:59 PM
Posted Oct 13, 2010, 10:19 AM