Discussion:
hai I have problem of saving the modified picture in picturebox
(too old to reply)
mohanbeela
2004-11-10 19:07:53 UTC
Permalink
hai,

I have problem of saving the modified picture in picturebox. I wrote some
text on the picture using "Picture1.Print "text" ". But when saved using
"SavePicture Picture1.Picture, "c:\temp.jpg" " the modifications are not
saved. Please help how to save the modifications on the picture or how to
modify a picture so that the modifications can be saved. Advanced thanks to
all.

Thank you.
Mohan beela
Jeff Bennett
2004-11-12 13:31:13 UTC
Permalink
Post by mohanbeela
hai,
I have problem of saving the modified picture in picturebox.
I wrote some text on the picture using
"Picture1.Print "text" "
But when saved using
"SavePicture Picture1.Picture, "c:\temp.jpg" "
the modifications are not saved.
Please help how to save the modifications on the picture
or how to modify a picture so that the modifications
can be saved. Advanced thanks to all.
Thank you.
Mohan beela
Before modifying the picture set the AutoDraw property.
Then when you call the SavePicture function make sure to
reference Picture1.Image not Picture1.Picture.

This should resolve your problem.

If you are looking for a 3rd party control to
make picture editing easier take a look at
www.MetaDraw.com. Our MetaDraw component
is specifically designed for image editing / annotation / drawing.


* * * * Please include a copy of this message with your reply

Jeff Bennett
***@Bennet-Tec.Com

* Bennet-Tec Information Systems, Inc
* 50 Jericho Tpk, Jericho, NY 11753
* Phone 516 997 5596, Fax - 5597
* RELIABLE Components Make You Look Sharp!
* TList/Pro * ALLText HT/Pro * MetaDraw *
* Custom Software Development Services Too.
* WWW.Bennet-Tec.Com

=================== ===================
Randy Birch
2004-11-12 16:07:36 UTC
Permalink
What exactly do you believe your question(s) have to do with 3rdparty,
addins, bugs, com, dataenvironment, dos and other inappropriate
newsgroups??????? Your inability to perform what you perceive as a specific
action is hardly a "bug". Post to one group only - in this case the Controls
group.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/


"mohanbeela" <***@rediffmail.com> wrote in message news:***@TK2MSFTNGP12.phx.gbl...
: hai,
:
: I have problem of saving the modified picture in picturebox. I wrote some
: text on the picture using "Picture1.Print "text" ". But when saved using
: "SavePicture Picture1.Picture, "c:\temp.jpg" " the modifications are not
: saved. Please help how to save the modifications on the picture or how to
: modify a picture so that the modifications can be saved. Advanced thanks
to
: all.
:
: Thank you.
: Mohan beela
:
:
Loading...