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

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

    Parameters

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