Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / EnhancedSolidLine Class / EnhancedSolidLine Constructor
Color of the line.
Width of the line.
Dash type of the line
Cap type of the line
Join type of the line
Arrow type at start of the line
Arrow size at start of the line
Arrow type at end of the line
Arrow size at end of the line


In This Topic
    EnhancedSolidLine Constructor
    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, _
       ByVal compoundType As CompoundType, _
       ByVal dashType As DashType, _
       ByVal capType As CapType, _
       ByVal joinType As JoinType, _
       ByVal beginArrowType As ArrowType, _
       ByVal endArrowType As ArrowType, _
       ByVal beginArrowSize As Integer, _
       ByVal endArrowSize As Integer _
    )
    'Usage
     
    
    Dim color As Color
    Dim width As Single
    Dim compoundType As CompoundType
    Dim dashType As DashType
    Dim capType As CapType
    Dim joinType As JoinType
    Dim beginArrowType As ArrowType
    Dim endArrowType As ArrowType
    Dim beginArrowSize As Integer
    Dim endArrowSize As Integer
     
    Dim instance As New EnhancedSolidLine(color, width, compoundType, dashType, capType, joinType, beginArrowType, endArrowType, beginArrowSize, endArrowSize)

    Parameters

    color
    Color of the line.
    width
    Width of the line.
    compoundType
    dashType
    Dash type of the line
    capType
    Cap type of the line
    joinType
    Join type of the line
    beginArrowType
    Arrow type at start of the line
    endArrowType
    Arrow size at start of the line
    beginArrowSize
    Arrow type at end of the line
    endArrowSize
    Arrow size at end 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