ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / SolidPen Class / SolidPen Constructor / SolidPen Constructor(Color,Int32)
A Color indicates the color of the pen.
An int indicates the width of the pen.

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

    Parameters

    color
    A Color indicates the color of the pen.
    width
    An int indicates the width 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