[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.Pen.-ctor

Pen Constructor

Pen(Color)

Initializes a new instance of a Pen.

Declaration
public Pen(Color color)
Public Sub New(color As 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)
Public Sub New(color As Color, width As Single)
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)
Public Sub New(source As Pen)
Parameters
Type Name Description
Pen source