XlUnderlineStyle
Underline type.
Type
Enumeration
Values
- "xlUnderlineStyleDouble"
- "xlUnderlineStyleDoubleAccounting"
- "xlUnderlineStyleNone"
- "xlUnderlineStyleSingle"
- "xlUnderlineStyleSingleAccounting"
Example
Specify that the single underlining is applied to the font.
// How do I underline the text font?
// Set an underline style to "xlUnderlineStyleSingle".
font.SetUnderline("xlUnderlineStyleSingle");