|
-
Jan 21st, 2002, 02:11 AM
#1
Thread Starter
Lively Member
URGENT - Converting Text to image
Hello,
Need help badly....
I have a textbox on my form. I want to convert whatever written in the textbox, should be converted to image. You can think of it as a screenshot of the text with same height and width of text.
More clearly, u open MS Paint and select textbox and type some thing and save it as .bmp or .gif.
R there any controls available for this?
Any suggestions will be personally appreciated.
Thanks in advance...
Abhay
-
Jan 21st, 2002, 08:30 AM
#2
Good Ol' Platypus
You can use the TextOut API, using Text1.Text as the text property, on a picturebox's .hDC. Then you can SavePicture that picturebox's .Image property.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jan 23rd, 2002, 01:11 AM
#3
Thread Starter
Lively Member
Hello,
Thanks a lot for ur advice.
I have managed to get it worked.
Again thnks,
Abhay Bakshi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|