Font Object

This topic describes the Font object used for setting cell font attributes.

Object properties

  • FontSize - an integer value that specified the font size in points (pt).

  • Name - a string value that specified the font name.

  • FontColor - an object that specifies the font color in an ARGB format.

  • Bold - a boolean value that specifies whether or not the font is bold.

  • Italic - a boolean value that specifies whether or not the font is italic.

  • StrikeThrough - a boolean value that specifies whether or not the font is stroked through.

  • Underline - a string value that specifies how text is underlined. The available variants are:

    1. None
    2. Single
    3. Double
    4. SingleAccounting
    5. DoubleAccounting