PictureTop Property (ASwitch)

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

Syntax

Object.PictureTop [ = lPictureTop ]

The PictureTop property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

lPictureTop

APixel

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

Comments

The default value is -1 (AutoSize).

Example

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

sw1.PictureTop=6

Applies to

ASwitch

See Also

PictureHeight, PictureLeft, PictureWidth