For an Image object named myImage use the following syntax:
myImage.SetScaleH(2,2.0)
In this example, myImage horizontal size will be 200% larger than the original size, for example, if the horizontal size was 40 pixels, the new values would be 80 pixels. If myImage.SetScaleH(2,2.0) was called more than once, myImage will remain the same size as the first time this function was called because 200% of the original size will always return the same result. Entering a different scale factor, for example, SetScaleH(3,1.0) would scale the horizontal size to 300% its original size. If you want to constantly increase the size of an object by a particular scale factor, use the Scale functions.
see also:SetScale, SetScaleV, alternatively Scale, ScaleH, ScaleV