Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Pen Class / Pen Constructor / Pen Constructor(SchemeColor,Double)
A GrapeCity.Core.SchemeColor that determines the characteristics of this Pen.
The width of the new Pen.


In This Topic
    Pen Constructor(SchemeColor,Double)
    In This Topic
    Initializes a new instance of the Pen class with the specified color and width.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As SchemeColor, _
       ByVal width As Double _
    )
    'Usage
     
    
    Dim color As SchemeColor
    Dim width As Double
     
    Dim instance As New Pen(color, width)
    public Pen( 
       SchemeColor color,
       double width
    )

    Parameters

    color
    A GrapeCity.Core.SchemeColor that determines the characteristics of this Pen.
    width
    The width of the new Pen.
    See Also