Groups | Blog | Home
all groups > dotnet windows forms > january 2006 >

dotnet windows forms : Save lines drawn in the picturebox as an lmage


Yash
1/20/2006 9:06:24 AM

Have used DrawLine() method to draw some lines in the picturebox (sort
of a barcode) in the picturebox paint event.
This diagram has to be saved as an image in bmp or tiff format.
But the problem is that these lines are not recognized as the image o

the picturebox.
It shows picturebox.image = nothing.


How do we convert these lines drawn as the image of the picturebox so
that it can be saved.


Thanks for any help

--
Yas
-----------------------------------------------------------------------
Yash's Profile: http://www.highdots.com/forums/m177
View this thread: http://www.highdots.com/forums/t321621
Herfried K. Wagner [MVP]
1/20/2006 1:44:59 PM
"Yash" <Yash.21xe1y@no-mx.forums.yourdomain.com.au> schrieb:
[quoted text, click to view]


<URL:http://www.dotnetrix.co.uk/misc.html>
-> "Save the Image currently displayed in a PictureBox."

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
AddThis Social Bookmark Button