FontStyle

Determines the font style of the text in a cell.

Syntax

FontStyle(style)
style = string determining the cell's style of text

Remarks

style is a string of characters that indicate the desired sub-styles:

  • "b": bold
  • "i": italic
  • "u": underline
  • "s": strikethrough

To adjust the font's color, see FontColor.

To specify multiple styles, use Block.

Examples

FontStyle('') = defines a normal style
FontStyle('bi') = defines a bold, italic style
FontStyle('s') = defines a simple underline style

Classification

Layout