共用方式為


Pen.PenType 屬性

定義

取得以這個 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

屬性值

PenType 列舉,指定以這個 Pen 所繪製的直線樣式。

備註

Pen可以根據列舉成員PenType指定的樣式,繪製實線、填滿線條或紋理線條。

適用於