Control how a graphic is displayed in an Image control.
Image.AutoSize [= Boolean]
Image.Stretch [= Boolean]
Image.Tile [= Boolean]
AutoSize = True | The Image control resizes to fit the image. |
AutoSize = False | (Default) The Image control does not resize. |
Stretch = True | The graphic resizes to fit the control. Resizing the control also resizes the graphic it contains. |
Stretch = False | (Default) The graphic keeps it original size. |
Tile = True | The graphic is tiled across the Image control. |
Tile = False | (Default) The graphic keeps it original size and position. |
A Form OCX control can also be used to display a picture. A Form OCX is the GFA-BASIC 32 implementation of a VB PictureBox.
{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}