ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word Namespace / Pen Class / Pen Constructor / Pen Constructor(Color,Double)
Color of the lines drawn with this pen.
Width of the lines drawn with this pen in points.

In This Topic
    Pen Constructor(Color,Double)
    In This Topic
    Initializes a new instance of a Pen.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal color As Color, _
       ByVal width As Double _
    )
    public Pen( 
       Color color,
       double width
    )

    Parameters

    color
    Color of the lines drawn with this pen.
    width
    Width of the lines drawn with this pen in points.
    See Also