PictureWidth Property (ASwitch)

Returns or sets the width in pixels of the Picture object of the object.

Syntax

Object.PictureWidth [ = lPictureWidth ]

The PictureWidth property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

lPictureWidth

APixel

An integer specifying the width in pixels of the picture of the object.

Comments

The default value is -1 (AutoSize).

Example

The following statement changes the ASwitch's PictureWidth so the picture of the switch is six pixels wide:

sw1.PictureWidth=6

Applies to

ASwitch

See Also

PictureHeight, PictureLeft, PictureTop