[]
        
(Showing Draft Content)

C1.WPF.Word.Pen

Pen Class

Represents an object used to draw lines and curves.

Inheritance
Pen
Namespace: C1.WPF.Word
Assembly: C1.WPF.Word.4.6.2.dll
Syntax
public class Pen

Constructors

Name Description
Pen(Color)

Initializes a new instance of a Pen.

Pen(Color, double)

Initializes a new instance of a Pen.

Properties

Name Description
Color

Gets or sets the pen color.

DashOffset

Gets or sets the distance within the dash pattern where a dash begins. The default value is 0.

DashPattern

Gets or sets the custom dash pattern of lines drawn with this pen.

DashStyle

Gets or sets the style of dashed lines drawn with this pen.

LineJoin

Gets or sets the style used to join lines drawn with this pen.

StartCap

Gets or sets the cap style used to draw line ends with this pen.

Width

Gets or sets the pen width.

Operators

Name Description
implicit operator Pen(Color)

Implicitly converts a Color to a Pen.