Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / SolidLine Class / SolidLine Constructor / SolidLine Constructor(Color,Single)
Color of the line.
Widht of the line.


In This Topic
    SolidLine Constructor(Color,Single)
    In This Topic
    Creates a line with the specified color and width.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As Color, _
       ByVal width As Single _
    )
    'Usage
     
    
    Dim color As Color
    Dim width As Single
     
    Dim instance As New SolidLine(color, width)
    public SolidLine( 
       Color color,
       float width
    )

    Parameters

    color
    Color of the line.
    width
    Widht of the line.
    Exceptions
    ExceptionDescription
    width is less than or equal to zero or width is greater than 3.
    Remarks
    Width is measured in points.
    See Also