Pen.CustomEndCap Pen.CustomEndCap Pen.CustomEndCap Pen.CustomEndCap Property

Definition

Gets or sets a custom cap to use at the end of lines drawn with this Pen.

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

Property Value

A CustomLineCap that represents the cap used at the end of lines drawn with this Pen.

Exceptions

The CustomEndCap property is set on an immutable Pen, such as those returned by the Pens class.

Applies to