Image.Stretch (gb.qt4)

Function Stretch ( Width As Integer, Height As Integer [ , Fast As Boolean ] ) As Image

Returns a stretched copy of the image.

You can specify -1 as width or height if you want to keep the image aspect ratio.

When you want to draw a stretched image, it is usually faster to directly use the Width and Height arguments of the Draw.Image method than first stretching the image, and then drawing it.