Share via


InPlaceTextEditor.HorizontalAlignment Property

Gets or sets a value indicating the horizontal alignment of the text in the editor.

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 HorizontalAlignment As StringAlignment
public StringAlignment HorizontalAlignment { get; set; }
public:
property StringAlignment HorizontalAlignment {
    StringAlignment get ();
    void set (StringAlignment value);
}
member HorizontalAlignment : StringAlignment with get, set
function get HorizontalAlignment () : StringAlignment 
function set HorizontalAlignment (value : StringAlignment)

Property Value

Type: System.Drawing.StringAlignment

.NET Framework Security

See Also

Reference

InPlaceTextEditor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace