PenSettings.CustomEndCap Property

Definition

Gets or sets a custom cap to use at the end of lines drawn with this Pen object. Only allows the change if the property is not immutable and sets the override flags appropriately.

C++
public:
 property System::Drawing::Drawing2D::CustomLineCap ^ CustomEndCap { System::Drawing::Drawing2D::CustomLineCap ^ get(); void set(System::Drawing::Drawing2D::CustomLineCap ^ value); };

Property Value

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

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022