Bewerken

Delen via


Pen.PenType Property

Definition

Gets the style of lines drawn with this Pen.

public:
 property System::Drawing::Drawing2D::PenType PenType { System::Drawing::Drawing2D::PenType get(); };
public System.Drawing.Drawing2D.PenType PenType { get; }
member this.PenType : System.Drawing.Drawing2D.PenType
Public ReadOnly Property PenType As PenType

Property Value

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

Remarks

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

Applies to