Partager via


PenStyleSetInfo.DashCap Property

Definition

Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this Pen object.

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

Property Value

A DashCap enumeration that represents the cap style used at the beginning and end of the dashes that make up dashed lines drawn with this Pen object. Do not set this property to DashCap.Triangle if the Pen object has its Pen.Alignment property set to PenAlignment.Inset.

Applies to