[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.UnderlineType

UnderlineType Enum

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum UnderlineType
Public Enum UnderlineType
Examples
IRange cell = worksheet.Range["A1"];
cell.Value = "Total";
cell.Font.Underline = UnderlineType.DoubleAccounting;

Fields

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.