Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.drawing
Prb: Saving graphics to a file
Adam Edell via DotNetMonster.com
1/13/2005 6:11:00 AM
1) How to save the image in the picture box as a file, in the same format and display as is appearing in the picture box after stretching or centering the image? i.e. the picture box display should be stored as an image file, not the image in its actual format.
2) The graphics generated on the picture box with the help of mouse events disappears whenever some object is dragged over the picture box or the form is minimized and then maximized.
3) We can generate the graphics of an image. However, is there some method to save the graphics generated as an image file?
--
Message posted via
http://www.dotnetm...
1 Answer
Mick Doherty
1/13/2005 7:07:00 AM
0
1.
http://dotnetrix.co.uk...
Do all your painting in the picturebox paint method and save the information
needed to redraw the state, or draw to a bitmap as above and then set the
picturebox.image=bitmap.
--
Mick Doherty
http://dotnetrix.co.uk/no...
"Amit Gandhi via DotNetMonster.com" <forum@DotNetMonster.com> wrote in
message news:ca0b9d03a19a432d824522d2ab43e4cc@DotNetMonster.com...
> 1) How to save the image in the picture box as a file, in the same format
> and display as is appearing in the picture box after stretching or
> centering the image? i.e. the picture box display should be stored as an
> image file, not the image in its actual format.
>
> 2) The graphics generated on the picture box with the help of mouse events
> disappears whenever some object is dragged over the picture box or the
> form is minimized and then maximized.
>
> 3) We can generate the graphics of an image. However, is there some method
> to save the graphics generated as an image file?
>
> --
> Message posted via
http://www.dotnetm...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Prb: Saving graphics to a file
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password