XlFontBase.Underline Property
Gets or sets the type of underline applied to the cell content.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v19.1.Core.dll
Declaration
Property Value
Type | Description |
---|---|
XlUnderlineType | An XlUnderlineType enumeration value. |
Available values:
Name | Description |
---|---|
None | Specifies that the text is not underlined. |
Single | Specifies a single underline. |
Double | Specifies a double underline. |
SingleAccounting | Specifies a single accounting underline. Adds a single-line underline that is displayed lower than the XlUnderlineType.Single underline and fills the entire cell width if the cell contains text or date values. |
DoubleAccounting | Specifies a double accounting underline. Adds a double-line underline that is displayed lower than the XlUnderlineType.Double underline and fills the entire cell width if the cell contains text or date values. |
Remarks
To specify all the required font characteristics, use the XlFont object properties such as XlFontBase.Name, XlFontBase.Size, XlFontBase.Script, XlFont.Color etc. For an example on how to apply font settings to an individual cell, refer to the How to: Configure Cell Font Settings article.