ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / SolidPen Class / SolidPen Constructor / SolidPen Constructor(Color,Int32)
A SolidPen.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 SolidPen.Color indicates the color of the pen.
    width
    An int indicates the width of the pen.
    See Also