Table of Contents

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

bool

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

string

Italic

Italic text.

public bool Italic { get; set; }

Property Value

bool

Name

Font name. Defaults to Calibri, which is also what the workbook's "Normal" style uses.

public string Name { get; set; }

Property Value

string

Size

Font size in points. Defaults to 11 (Excel's default for Calibri).

public double Size { get; set; }

Property Value

double

Strikethrough

Strikethrough text.

public bool Strikethrough { get; set; }

Property Value

bool

Underline

Single underline.

public bool Underline { get; set; }

Property Value

bool