Class FontOptions
- Namespace
- SheetStream.Styles
- Assembly
- SheetStream.dll
Font settings of a StyleOptions.
public sealed class FontOptions
- Inheritance
-
FontOptions
- Inherited Members
Properties
Bold
Bold text.
public bool Bold { get; set; }
Property Value
Color
Text colour as hex: "#RRGGBB", "RRGGBB" or "AARRGGBB".
null keeps Excel's automatic (theme) colour. Validated on assignment.
public string? Color { get; set; }
Property Value
Italic
Italic text.
public bool Italic { get; set; }
Property Value
Name
Font name. Defaults to Calibri, which is also what the workbook's "Normal" style uses.
public string Name { get; set; }
Property Value
Size
Font size in points. Defaults to 11 (Excel's default for Calibri).
public double Size { get; set; }
Property Value
Strikethrough
Strikethrough text.
public bool Strikethrough { get; set; }
Property Value
Underline
Single underline.
public bool Underline { get; set; }