Partager via


PenSettings.StartCap Property

Gets or sets the cap style used at the beginning 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Property StartCap As LineCap
    Get
    Set
public LineCap StartCap { get; set; }
public:
property LineCap StartCap {
    LineCap get ();
    void set (LineCap value);
}
member StartCap : LineCap with get, set
function get StartCap () : LineCap
function set StartCap (value : LineCap)

Property Value

Type: System.Drawing.Drawing2D.LineCap

.NET Framework Security

See Also

Reference

PenSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace