[]
Specifies the underline style of text.
Use this enum with Underline to control whether text uses no underline, a single underline, a double underline, or an accounting underline style.
public enum UnderlineType
Public Enum UnderlineType
IRange cell = worksheet.Range["A1"];
cell.Value = "Total";
cell.Font.Underline = UnderlineType.DoubleAccounting;
| Name | Description |
|---|---|
| Double | Specifies that text has a double underline. |
| DoubleAccounting | Specifies that text has a double accounting underline, causing an entire cell to be underlined rather than just the cell text. |
| None | Specifies that text is not underlined. |
| Single | Specifies that text has a single underline. |
| SingleAccounting | Specifies that text has a single accounting underline, causing the entire cell to be underlined rather than only the text itself. |