ComponentOne MultiSelect 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also