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

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

    Parameters

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