Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / Line Class / Line Constructor / Line Constructor(LineStyle,Color)
A LineStyle enumeration that indicates the line style of the line.
A Color value that indicates the color of the line.


In This Topic
    Line Constructor(LineStyle,Color)
    In This Topic
    Initializes a new Line class instance with the specified attribute settings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal lineStyle As LineStyle, _
       ByVal color As Color _
    )
    'Usage
     
    
    Dim lineStyle As LineStyle
    Dim color As Color
     
    Dim instance As New Line(lineStyle, color)
    public Line( 
       LineStyle lineStyle,
       Color color
    )

    Parameters

    lineStyle
    A LineStyle enumeration that indicates the line style of the line.
    color
    A Color value that indicates the color of the line.
    See Also