Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / Pen Class / Pen Constructor / Pen Constructor(Color,Single)
Color of the lines drawn with this pen.
Width of the lines drawn with this pen, in units of the Graphics object used for drawing.

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

    Parameters

    color
    Color of the lines drawn with this pen.
    width
    Width of the lines drawn with this pen, in units of the Graphics object used for drawing.
    See Also