Image

The image control lets you display a graphical image on a form. This control supports the following file formats: *.bmp, *.cur, *gif, *.ico, *.jpg, and *.wmf. Like other controls in the Toolbox, the image control has a number of properties that you can set. For example, you can control the appearance of the picture with the PictureSizeMode property. This property has three settings: 0 (fmPictureSizeModeClip crops a part of a picture that does not fit within the picture frame), 1 (fmPictureSizeModeStretch stretches the picture horizontally or vertically until it fills the entire frame area), and 3 (fmPictureSizeModeZoom enlarges the picture without distorting its proportions).

0 0

Post a comment