[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.Pen.-ctor

Pen Constructor

Pen(Color)

Initializes a new instance of a Pen.

Declaration
public Pen(Color color)
Parameters
Type Name Description
Color color

Color of the lines drawn with this pen.

Pen(Color, float)

Initializes a new instance of a Pen.

Declaration
public Pen(Color color, float width)
Parameters
Type Name Description
Color color

Color of the lines drawn with this pen.

float width

Width of the lines drawn with this pen, in units of the Graphics object used for drawing.

Pen(Pen)

Creates a copy of a Pen object.

Declaration
public Pen(Pen source)
Parameters
Type Name Description
Pen source