Results 1 to 3 of 3

Thread: URGENT - Converting Text to image

  1. #1

    Thread Starter
    Lively Member abhaybakshi's Avatar
    Join Date
    Dec 2001
    Location
    Mumbai (INDIA)
    Posts
    81

    Angry 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

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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)

  3. #3

    Thread Starter
    Lively Member abhaybakshi's Avatar
    Join Date
    Dec 2001
    Location
    Mumbai (INDIA)
    Posts
    81
    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
  •  



Click Here to Expand Forum to Full Width