Back to Devexpress

ShapeLineDashing Enum

officefileapi-devexpress-dot-spreadsheet-dot-drawings-8d38b447.md

latest4.0 KB
Original Source

ShapeLineDashing Enum

Lists values that specify the line dash type.

Namespace : DevExpress.Spreadsheet.Drawings

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum ShapeLineDashing
vb
Public Enum ShapeLineDashing

Members

NameDescriptionExample
Solid

A solid line. The binary pattern is 1 (a continuous line).

|

| | SystemDash |

A line consisting of short dashes. The binary pattern is 1110 (three filled points and one space).

|

| | SystemDot |

A line consisting of dots with a short space between them. The binary pattern is 10 (one filled point and one space).

|

| | SystemDashDot |

A line consisting of a repeating short dash-dot pattern. The binary pattern is 111010 (three filled points - one space - one filled point - one space).

|

| | SystemDashDotDot |

A line consisting of a repeating short dash-dot-dot pattern. The binary pattern is 11101010 (three filled points - one space - one filled point - one space - one filled point - one space).

|

| | Dot |

A line consisting of dots. The binary pattern is 1000 (one filled point and three spaces).

|

| | Dash |

A line consisting of dashes. The binary pattern is 1111000 (four filled points and three spaces).

|

| | DashDot |

A line consisting of a repeating dash-dot pattern. The binary pattern is 11110001000 (four filled points - three spaces - one filled point - three spaces).

|

| | LongDash |

A line consisting of long dashes. The binary pattern is 11111111000 (eight filled points and three spaces).

|

| | LongDashDot |

A line consisting of a repeating long dash-dot pattern. The binary pattern is 111111110001000 (eight filled points - three spaces - one filled point - three spaces).

|

| | LongDashDotDot |

A line consisting of a repeating long dash-dot-dot pattern. The binary pattern is 1111111100010001000 (eight filled points - three spaces - one filled point - three spaces - one filled point - three spaces).

|

|

The following properties accept/return ShapeLineDashing values:

Remarks

Each line style is accompanied by a binary pattern, where each 1 represents a line segment of the same length as the line width, and each 0 corresponds to a space of the same length as the line width.

See Also

DevExpress.Spreadsheet.Drawings Namespace