Returns or sets the width in pixels of the Picture object of the object.
Object.PictureWidth [ = lPictureWidth ]
The PictureWidth property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
lPictureWidth |
An integer specifying the width in pixels of the picture of the object. |
The default value is -1 (AutoSize).
The following statement changes the ASwitch's PictureWidth so the picture of the switch is six pixels wide:
sw1.PictureWidth=6