PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / LineDef Class / LineDef Constructor / LineDef Constructor(Unit,Color,DashStyle)
A value assigned to the LineDef.Color property.
A value assigned to the LineDef.Color property.
A value assigned to the LineDef.DashStyle property.

In This Topic
    LineDef Constructor(Unit,Color,DashStyle)
    In This Topic
    Initializes a new instance of the LineDef class, assigning line width, color and dash style.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal width As Unit, _
       ByVal color As Color, _
       ByVal style As DashStyle _
    )
    public LineDef( 
       Unit width,
       Color color,
       DashStyle style
    )

    Parameters

    width
    A value assigned to the LineDef.Color property.
    color
    A value assigned to the LineDef.Color property.
    style
    A value assigned to the LineDef.DashStyle property.
    See Also