Share via


PenSettings.EndCap Property

Gets or sets the cap style used at the end of lines drawn with this PenStyleSetInfo object. Only allows the change if the property is not immutable and sets the override flags appropriately.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Property EndCap As LineCap
public LineCap EndCap { get; set; }
public:
property LineCap EndCap {
    LineCap get ();
    void set (LineCap value);
}
member EndCap : LineCap with get, set
function get EndCap () : LineCap 
function set EndCap (value : LineCap)

Property Value

Type: System.Drawing.Drawing2D.LineCap

.NET Framework Security

See Also

Reference

PenSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace