ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / DashPen Class / DashPen Constructor / DashPen Constructor(DashStyle,Color,Int32)
A DashStyle indicate the style of lines be drawed
A Color indicates the color of the pen.
An int indicates the width of the pen.

In This Topic
    DashPen Constructor(DashStyle,Color,Int32)
    In This Topic
    Initializes a new instance of the DashPen class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dashStyle As DashStyle, _
       ByVal color As Color, _
       ByVal width As Integer _
    )
    public DashPen( 
       DashStyle dashStyle,
       Color color,
       int width
    )

    Parameters

    dashStyle
    A DashStyle indicate the style of lines be drawed
    color
    A Color indicates the color of the pen.
    width
    An int indicates the width of the pen.
    See Also