Returns or sets the height in pixels of the OffText of the object.
Object.OffTextHeight [ = lOffTextHeight ]
The OffTextHeight property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
lOffTextHeight |
An integer specifying the height in pixels of the OffText of the control. |
The default value is -1 (AutoSize).
The following statement changes the ASwitch's OffTextHeight so the text of the switch for the 'Off' position is twelve pixels high.
sw1.OffTextHeight=12
OffText, OffTextColor, OffTextFont, OffTextLeft, OffTextTop, OffTextWidth, OnTextHeight