Returns or sets the height in pixels of the Picture object of the object.
Object.PictureHeight [ = lPictureHeight ]
The PictureHeight property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
lPictureHeight |
An integer specifying the height in pixels of the picture of the object. |
The default value is -1 (AutoSize).
The following statement changes the ASwitch's PictureHeight so the height of the picture on the switch is ten pixels high.
sw1.PictureHeight=10