Font Properties
From NanoXLSX
NanoXLSX Library Documentation
![]() | Font Properties |
The StyleFont type exposes the following members.
| Name | Description | |
|---|---|---|
| Bold |
Gets or sets whether the font is bold. If true, the font is declared as bold
| |
| Charset |
Gets or sets the char set of the Font (Default is empty)
| |
| ColorTheme |
Gets or sets the font color theme (Default is 1)
| |
| ColorValue |
Gets or sets the font color (default is empty)
| |
| DoubleUnderline |
Gets or sets whether the font has a double underline. If true, the font is declared with a double underline
| |
| Family |
Gets or sets the font family (Default is 2)
| |
| Hash |
Gets the unique hash of the object
(Inherited from AbstractStyle.) | |
| InternalID |
Gets or sets the internal ID for sorting purpose in the Excel style document (nullable)
(Inherited from AbstractStyle.) | |
| IsDefaultFont |
Gets whether the font is equals the default font
| |
| Italic |
Gets or sets whether the font is italic. If true, the font is declared as italic
| |
| Name |
Gets or sets the font name (Default is Calibri)
| |
| Scheme |
Gets or sets the font scheme (Default is minor)
| |
| Size |
Gets or sets the font size. Valid range is from 8 to 75
| |
| Strike |
Gets or sets whether the font is struck through. If true, the font is declared as strike-through
| |
| Underline |
Gets or sets whether the font is underlined. If true, the font is declared as underlined
| |
| VerticalAlign |
Gets or sets the alignment of the font (Default is none)
|
