共用方式為


Pen.CustomStartCap 屬性

定義

取得或設定自訂帽緣,用於以這個 Pen 所繪製的直線開端。

public:
 property System::Drawing::Drawing2D::CustomLineCap ^ CustomStartCap { System::Drawing::Drawing2D::CustomLineCap ^ get(); void set(System::Drawing::Drawing2D::CustomLineCap ^ value); };
public System.Drawing.Drawing2D.CustomLineCap CustomStartCap { get; set; }
member this.CustomStartCap : System.Drawing.Drawing2D.CustomLineCap with get, set
Public Property CustomStartCap As CustomLineCap

屬性值

CustomLineCap,表示以這個 Pen 所繪製之直線開端所用的帽緣。

例外狀況

CustomStartCap 屬性設定於不可變動的 Pen 上,例如 Pens 類別傳回的項目。

適用於