Discussion:
Resizing picturebox
(too old to reply)
Sonnich Jensen
2016-03-17 16:21:24 UTC
Permalink
Hi

When loading a new image, I'd like to have it 1=1, hence the picture box should get the new size of the image loaded.
Say I load a pic, 10 pixels wider, then I'd like my picture box to get that size.

WBR
Sonnich
Sonnich Jensen
2016-03-18 10:02:58 UTC
Permalink
Post by Sonnich Jensen
Hi
When loading a new image, I'd like to have it 1=1, hence the picture box should get the new size of the image loaded.
Say I load a pic, 10 pixels wider, then I'd like my picture box to get that size.
WBR
Sonnich
Found it: picturebox.Image.Width and picturebox.Image.Height

Loading...