Results 1 to 3 of 3

Thread: picture from rich text box

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    picture from rich text box

    i want to fnd out how to create a picture from an image inserted into a rich text box, including size and position
    i have seen code to create a image in a rtb from a bmp, so i want to go the otherway, preferably to a jpg or gif, but bmp would be ok
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  2. #2
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: picture from rich text box

    You mean you have a RTB with an image + text (or whatever) in the RTB's client area and that's what you want to capture to picture? just the visible area of the control?

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: picture from rich text box

    no, i just want to be able to capture the image(s) separately

    i can copy and paste the image into another application, then save it, but i want to do in code

    how to select the images in code?
    Last edited by westconn1; Dec 22nd, 2006 at 04:34 PM.
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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