語言

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 A 代表用此 Pen畫出的直線起始所使用的帽。

例外狀況

該 CustomStartCap 性質設定在一個不變的 Pen上,例如類別回傳 Pens 的 。

適用於