Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Picture box container controls save to image

Hi All,

I am new to this forurm, Please help me. I want to create Label controls dynamically over picture box, and then save the picture box along with the placed label over picturebox to an image. i am able to create label control, but when i save it only image get saved and label control are not added to that image.

I have used this code to save the image
PictureBox1.Image.Save("c:\test.jpg", Imaging.ImageFormat.Jpeg)

or

Dim a As New Bitmap(PictureBox1.Image)
a.Save("c:\1test123.bmp", Imaging.ImageFormat.Bmp)

can anyone help me how to find the solution for this problem ??

Thanks in Advance

PS: let me know if it sound weired...i may re-write it again
[745 byte] By [Mujeeb] at [2007-11-11 8:44:03]