Returns or sets the width in pixels of the Picture object in the control.
Object.PictureWidth [ = lPictureWidth ]
The PictureWidth property syntax has the following parts:
Name |
Type |
Description |
Object |
AButton |
AButton control |
lPictureWidth |
An integer specifying the width of the Picture object on the AButton. |
The following statement changes the AButton's PictureWidth so the picture is ten pixels wide in the face area of the button.
btn1.PictureWidth=10
Picture, PictureAlignment, PictureDrawMode, PictureHeight, PictureLeft, PictureTop