PictureLeft Property (ASwitch)

Returns or sets the left position in pixels of the Picture object of the object. 

Syntax

Object.PictureLeft [ = lPictureLeft ]

The PictureLeft property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

lPictureLeft

APixel

An integer specifying the left position in pixels of the picture of the object. 

Comments

The default value is -1 (AutoSize).

Example

The following statement changes the ASwitch's PictureLeft so the picture of the switch is six pixels from the left:

sw1.PictureLeft=6

Applies to

ASwitch

See Also

PictureHeight, PictureTop, PictureWidth