Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DashStyle Enumeration

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

[Visual Basic]
<Serializable>
Public Enum DashStyle
[C#]
[Serializable]
public enum DashStyle
[C++]
[Serializable]
__value public enum DashStyle
[JScript]
public
   Serializable
enum DashStyle

Members

Member name Description
Custom Specifies a user-defined custom dash style.
Dash Specifies a line consisting of dashes.
DashDot Specifies a line consisting of a repeating pattern of dash-dot.
DashDotDot Specifies a line consisting of a repeating pattern of dash-dot-dot.
Dot Specifies a line consisting of dots.
Solid Specifies a solid line.

Requirements

Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing.Drawing2D Namespace

Show:
© 2015 Microsoft