Results 1 to 3 of 3

Thread: Stretch

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    21
    Hi,

    Has anybody an idea to put a stretch property to a picturebox (like the image control) to add some "zoom" function to it?
    (I'm trying to do a little drawing section in my app.)

    Thanks, Claude.

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    Yeah, put an imagebox inside it and change the imageboxes dimensions on the picture box resize event. If you don't want to do that you can use the streachblt API. Other than that I dont think you can do it.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    21
    Ok, thank you Sam.
    In fact my purpose is to edit the stretched image (icon in fact); I will try the API, but I think I'll have to redefine the entire "resolution" of my PictureBox (my drawing point should have the same size as a point from the stretched picture, but a pixel is still a pixel...)


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