DashStyle

DashStyle enumeration

Specifies the style of dashed lines drawn with a Pen object.

public enum DashStyle

Values

Name Value Description
Solid 0 Specifies a solid line.
Dash 1 Specifies a line consisting of dashes.
Dot 2 Specifies a line consisting of dots.
DashDot 3 Specifies a line consisting of a repeating pattern of dash-dot.
DashDotDot 4 Specifies a line consisting of a repeating pattern of dash-dot-dot.
Custom 5 Specifies a user-defined custom dash style.

See Also