OnTextHeight Property (ASwitch)

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

Syntax

Object.OnTextHeight [ = lOnTextHeight ]

The OnTextHeight property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

lOnTextHeight

APixel

An integer specifying the height in pixels of the OnText of the control.

Comments

The default value is -1 (AutoSize).

Example

The following statement changes the ASwitch's OnTextHeight so the text of the switch for the 'On' position is twelve pixels high.

sw1.OnTextHeight=12

Applies to

ASwitch

See Also

OffTextHeight, OnText, OnTextColor, OnTextFont, OnTextLeft, OnTextTop, OnTextWidth