PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / LineDef Class / LineDef Constructor / LineDef Constructor(Unit,Color)
A value assigned to the LineDef.Color property.
A value assigned to the LineDef.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 LineDef.Color property.
    color
    A value assigned to the LineDef.Color property.
    See Also