Evan Cutler
asked on
picturebox problem
Greetings EE Warriors
I'm using a Picturebox control in VB.net 2010.
I want to use PictureBox1.ImageLocation tag to designate new image.
My problem is that if image 2 is smaller than image1,
the the program will crop image1 before showing image 2.
How do I avoid this?
The Background is black.
I'm using a Picturebox control in VB.net 2010.
I want to use PictureBox1.ImageLocation tag to designate new image.
My problem is that if image 2 is smaller than image1,
the the program will crop image1 before showing image 2.
How do I avoid this?
The Background is black.
ASKER
ok...the problem, I think...
is that the images are not local. they are remote.
That being said, I think the first thing that comes across is metadata on the image, which changes the size of the Picturebox control, becuase it's still waiting for the new image.
is that the images are not local. they are remote.
That being said, I think the first thing that comes across is metadata on the image, which changes the size of the Picturebox control, becuase it's still waiting for the new image.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This works on my system...hopefully it'll work on the deployment system...thanks.
When I replace the image in PictureBox1 with a smaller one via ImageLocation() it simply displays the new smaller image and the previous image completely goes away...