Picture
This property returns and sets a graphic to be displayed in a control.
Syntax
object.Picture [= picture]
Parameters
- object
- Object expression that evaluates to a PictureBox, Image, CommandButton, CheckBox, or OptionButton control as well as a Form object.
- picture
- String expression that specifies a file containing a graphic. Following are the settings for picture:
- None (default)
- No picture.
- Bitmap
- Specifies a graphic. You can load the graphic from the Properties window at design time. At run time, you also can set this property using the file name of a bitmap.
Remarks
At run time, you can set the Picture property to any other object’s Picture property. Images are always specified by file name.