Returns or sets the font of the OffText of the object.
Object.OffTextFont [ = fontOffTextFont ]
The OffTextFont property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ASwitch |
ASwitch control |
|
fontOffTextFont |
A string expression specifying a font. |
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.
The following statement returns the ASwitch OffTextFont:
fontsw1OffTextFont = sw1.OffTextFont.Italic
OffText, OffTextColor, OffTextHeight, OffTextLeft, OffTextTop, OffTextWidth, OnTextFont