Partager via


PenSettings.Alignment Property

Gets or sets the PenAlignment information. 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 Alignment As PenAlignment
    Get
    Set
public PenAlignment Alignment { get; set; }
public:
property PenAlignment Alignment {
    PenAlignment get ();
    void set (PenAlignment value);
}
member Alignment : PenAlignment with get, set
function get Alignment () : PenAlignment
function set Alignment (value : PenAlignment)

Property Value

Type: System.Drawing.Drawing2D.PenAlignment

.NET Framework Security

See Also

Reference

PenSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace