PictureHeight Property (ASwitch)

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

Syntax

Object.PictureHeight [ = lPictureHeight ]

The PictureHeight property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

lPictureHeight

APixel

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

Comments

The default value is -1 (AutoSize).

Example

The following statement changes the ASwitch's PictureHeight so the height of the picture on the switch is ten pixels high.

sw1.PictureHeight=10

Applies to

ASwitch

See Also

PictureLeft, PictureTop, PictureWidth