Picture control

A picture control displays a static image on a form.

You can use picture controls to display any .bmp image file. The bitmap image can be obtained either from a file or from the clipboard. The bitmap is scaled proportionally to fit the width and height of the picture control.

The following table lists the properties of a picture control.

Property
Description
File
Select this option to read the picture from a file. With this option selected, the Picture File Name field must contain the name of the file.
Clipboard
Select this option to load the picture from the clipboard.
Picture File Name
A text box containing the path name of the file.
X
The horizontal position of the upper-left corner of the picture in pixels.
Y
The vertical position of the upper-left corner of the picture in pixels.
Width
The width of the picture in pixels.
Height
The height of the picture in pixels.