Link to home
Start Free TrialLog in
Avatar of johnmemor
johnmemor

asked on

how do I srink the picture box ?

I have a picture box, and it's scalemode is pixel.
How do I shrink the picture into 100 x 50 ?
Avatar of rspahitz
rspahitz
Flag of United States of America image

Use an image control, and set the stretch property = true.
No scalemode, but it's easy enough to translate.

ASKER CERTIFIED SOLUTION
Avatar of Ark
Ark
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bharatn
bharatn

simply Use the image control, and set the stretch property = true.
echoooooo?
Sorry for typo, should be
Picture1.Height = 50 * Screen.TwipsPerPixelY