Hi

I am still a beginner in this, so sorry if it is a silly question.
In my project I need to change the size of an image (which btw, is in a picturebox) but I can't manage to simply change the width and height of it like I did with the picturebox or some buttons.

I would like something that would do something similar to:

' x is a variable, eg. 500
picturebox1.image.width=x*0.5
picturebox1.image.height=x*0.4

Is there any command to do this?