Skip to main content
A newer version of this page is available. .

ShapeLineDashing Enum

Lists values used to specify the line dash type.

Namespace: DevExpress.Spreadsheet.Drawings

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

Declaration

public enum ShapeLineDashing

Members

Name Description
Solid

Specifies a solid line.

SpreadsheetLineDashing_SolidLine

The binary pattern is 1 (a continuous line).

SystemDash

Specifies a line consisting of short dashes.

SpreadsheetLineDashing_SystemDash

The binary pattern is 1110 (three filled points and one space).

SystemDot

Specifies a line consisting of dots with a short space between them.

SpreadsheetLineDashing_SystemDot

The binary pattern is 10 (one filled point and one space).

SystemDashDot

Specifies a line consisting of a repeating short dash-dot pattern.

SpreadsheetLineDashing_SystemDashDot

The binary pattern is 111010 (three filled points - one space - one filled point - one space).

SystemDashDotDot

Specifies a line consisting of a repeating short dash-dot-dot pattern.

SpreadsheetLineDashing_SystemDashDotDot

The binary pattern is 11101010 (three filled points - one space - one filled point - one space - one filled point - one space).

Dot

Specifies a line consisting of dots.

SpreadsheetLineDashing_Dot

The binary pattern is 1000 (one filled point and three spaces).

Dash

Specifies a line consisting of dashes.

SpreadsheetLineDashing_Dash

The binary pattern is 1111000 (four filled points and three spaces).

DashDot

Specifies a line consisting of a repeating dash-dot pattern.

SpreadsheetLineDashing_DashDot

The binary pattern is 11110001000 (four filled points - three spaces - one filled point - three spaces).

LongDash

Specifies a line consisting of long dashes.

SpreadsheetLineDashing_LongDash

The binary pattern is 11111111000 (eight filled points and three spaces).

LongDashDot

Specifies a line consisting of a repeating long dash-dot pattern.

SpreadsheetLineDashing_LongDashDot

The binary pattern is 111111110001000 (eight filled points - three spaces - one filled point - three spaces).

LongDashDotDot

Specifies a line consisting of a repeating long dash-dot-dot pattern.

SpreadsheetLineDashing_LongDashDotDot

The binary pattern is 1111111100010001000 (eight filled points - three spaces - one filled point - three spaces - one filled point - three spaces).

Related API Members

The following properties accept/return ShapeLineDashing values:

Remarks

The values listed by this enumeration are used by the ShapeOutline.Dashing property. Note that each line style is accompanied by a precise 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