Results 1 to 3 of 3

Thread: loading and resizing images

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    11

    Question loading and resizing images

    I'm am allowing users to load images into the image control. What i would like to do is have the image control alter its size depending on the image(as these are all differnent sizes and i would like the user to see the image full size). Any ideas would be helpful.

  2. #2
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Hi
    Just set the Stretch property to False
    Regards
    Stuart
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    You can use StretchBlt() to resize images...
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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