Pen::PenType Property

 

Gets the style of lines drawn with this Pen.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
property PenType PenType {
	PenType get();
}

Property Value

Type: System.Drawing.Drawing2D::PenType

A PenType enumeration that specifies the style of lines drawn with this Pen.

A Pen can draw solid lines, filled lines, or textured lines, depending on the style specified by a member of the PenType enumeration.

.NET Framework
Available since 1.1
Return to top
Show: