dcsimg
Results 1 to 5 of 5

Thread: [RESOLVED] Picturebox: Stretch & Lock perspective(ratio)

  1. #1

    Thread Starter
    Member intellilogic's Avatar
    Join Date
    Oct 2010
    Location
    Tyson's Corner, VA
    Posts
    39

    Resolved [RESOLVED] Picturebox: Stretch & Lock perspective(ratio)

    I get how to stretch an image in the picturebox, that's easy. Now how to make sure it keeps that original ratio, so it's not distorted? Maybe it's as simple as a different setting on the picturebox? Maybe I am mistaken and want to use a different tool?

  2. #2
    New Member
    Join Date
    Oct 2010
    Posts
    6

    Re: Picturebox: Stretch & Lock perspective(ratio)



    Is this what your referring to? I don't fully understand what your asking, upload some pics of what happening. What's causing the ratio to change?

  3. #3
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    103,871

    Re: Picturebox: Stretch & Lock perspective(ratio)

    Take a look at the SizeMode property.

  4. #4

    Thread Starter
    Member intellilogic's Avatar
    Join Date
    Oct 2010
    Location
    Tyson's Corner, VA
    Posts
    39

    Re: Picturebox: Stretch & Lock perspective(ratio)

    I'm trying to be able to stretch the picture while keeping its ratio. Ie if the picture was 100x200, I want to keep the 1:2 ratio, so if the picturebox is 400x400, I want it to fit into it 200x400. But I think I just figured it out, I think I don't want the 'Stretch Image', I want the 'Zoom'.

  5. #5

    Thread Starter
    Member intellilogic's Avatar
    Join Date
    Oct 2010
    Location
    Tyson's Corner, VA
    Posts
    39

    Re: Picturebox: Stretch & Lock perspective(ratio)

    Yea, 'Zoom' was what I wanted, I thought I tried that... I mean I re-tried it when you suggested. Well, thanks for making me think [Resolved]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width