OffTextFont Property (ASwitch)

Returns or sets the font of the OffText of the object.

Syntax

Object.OffTextFont [ = fontOffTextFont ]

The OffTextFont property syntax has the following parts:

 

Name

Type

Description

Object

ASwitch

ASwitch control

fontOffTextFont

AFont

A string expression specifying a font.

Comments

The default is the current Ambient font.

The Font is an object itself and has properties, methods, etc. Some of the properties of the font are: Name (a string), Size (a currency), Bold (boolean), Italic (boolean), Underline (boolean), Strikethrough (boolean), Weight (short var), and Charset (short var). Setting a CaptionFont property depends on the data type.

Example

The following statement returns the ASwitch OffTextFont:

fontsw1OffTextFont = sw1.OffTextFont.Italic

Applies to

ASwitch

See Also

OffText, OffTextColor, OffTextHeight, OffTextLeft, OffTextTop, OffTextWidth, OnTextFont