Jump to content

Recommended Posts

Posted

It would be nice if there was a way to size a picture control to match the size of the image you put in it

I have a catapult. Give me all the money or I will fling an enormous rock at your head.

Posted

Why can't you just use the same coordinate's that you used for the picture control for the picture itself? I don't really understnad what your saying, maybe tell me in a little more detail and I will help.

FootbaG
Posted

I'm loading a picture and I don't know beforehand how big it is. I want the entire picture to show on the form, but if the picture control is smaller than the image it gets cropped.

I have a catapult. Give me all the money or I will fling an enormous rock at your head.

Posted

I try to see if there is a solution with the current code.

Until now I didn't find anything. Perhaps Jon or Valik will be more successfull :)

Posted

Of course stretching the control to fit the image is one solution, but stretching the image to fit the control is the other. It might be nice to have a stretch property for the picture control, with possible settings None/ControlToImage/ImageToControl

I have a catapult. Give me all the money or I will fling an enormous rock at your head.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...