Returns or sets a graphic to be displayed in a control.
object.Picture [= picture]
The parts of the Picture property syntaxes are described in the following table.
Part | Description |
---|---|
picture | A string expression specifying a file containing a graphic, as described in Settings. |
The settings for picture are described in the following table.
Setting | Description |
---|---|
(None) | (Default) No picture. |
Bitmap | Specifies a graphic. You can load the graphic from the Properties window at design time. At run time, you can also set this property using the file name of a bitmap. |
At run time, the Picture property can be set to any other Picture property. Images are always specified by file name.