SSpread.FontFace Property
Sets the font style of the display text.
Before setting this property, use the Col, Row properties, and so on to specify what to do.
Specify a combination of the following values. The initial value is $STD.
| Constant | Value | Description |
|---|---|---|
| $STD | 0 | Standard |
| $BOLD | 1 | Bold |
| $ITALIC | 2 | Italic |
| $UNDER | 4 | Underline |
| $STRIKEOUT | 16 | Strikethrough |
The values of the FontBold, FontItalic, FontUnderline and FontStrikethru properties change as this property changes.
Limits on fonts applied to cell blocks
Differences from the FontFace property of other classes
$FIXED cannot be used. Specify the monospaced font in the FontName property to use a monospaced font. $STRIKEOUT can be specified only for this class.
Example of usage
Col = 2;
Row = 3;
FontFace = $ BOLD + $ ITALIC;
BlockMode = $ TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
FontFace = $ STRIKEOUT;
BlockMode = $ FALSE;
Related Items
FontBold, FontItalic, FontKind, FontName, FontSize, FontStrikethru, FontUnderline property