[]
Specifies the underline style for drawing text.
Use this enumeration with Underline to control how text is underlined in drawing objects such as chart text and data tables. The available values include no underline, word-only underline, single and double underlines, and several decorative underline patterns.
public enum TextUnderlineType
Public Enum TextUnderlineType
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200);
shape.Chart.HasDataTable = true;
shape.Chart.DataTable.Font.Underline = TextUnderlineType.Dash;
| Name | Description |
|---|---|
| Dash | Specifies a dash line underline. |
| DashHeavy | Specifies a dash underline. |
| DashLong | Specifies a dashed long line underline. |
| DashLongHeavy | Specifies a long heavy line underline. |
| DotDash | Specifies a dot dash line underline. |
| DotDashHeavy | Specifies a dot dash heavy line underline. |
| DotDotDash | Specifies a dot dot dash line underline. |
| DotDotDashHeavy | Specifies a dot dot dash heavy line underline. |
| Dotted | Specifies a dotted line underline. |
| DottedHeavy | Specifies a dotted heavy line underline. |
| Double | Specifies a double line underline for text. |
| Heavy | Specifies a heavy line underline. |
| None | Specifies no underline. |
| Single | Specifies a single line underline. |
| Wavy | Specifies a wavy line underline. |
| WavyDouble | Specifies a wavy double line underline. |
| WavyHeavy | Specifies a wavy heavy line underline. |
| Words | Specifies underlining words. |