[]
Specifies the dash style for a line.
Use this enumeration with DashStyle to control how a shape or connector line is rendered, such as solid, dotted, or dashed patterns.
public enum LineDashStyle
Public Enum LineDashStyle
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.DashStyle = LineDashStyle.DashDot;
| Name | Description |
|---|---|
| Dash | Specifies the line consists of only dashes. |
| DashDot | Specifies the line is a dash-dot pattern. |
| DashDotDot | Specifies the line is a dash-dot-dot pattern. |
| LongDash | Specifies the line consists of long dashes. |
| LongDashDot | Specifies the line is a long dash-dot pattern. |
| LongDashDotDot | Specifies that the line uses a long dash-dot-dot pattern. |
| Mixed | For special shapes use only. |
| RoundDot | Specifies the line is made up of round dots. |
| Solid | Specifies a solid, unbroken line. |
| SquareDot | Specifies the line is made up of square dots. |
| SysDash | Specifies the line is a long system-dash pattern. |
| SysDashDot | Specifies that the line uses a long system dash-dot pattern. |
| SysDot | Specifies the line is a long system-dot pattern. |