共用方式為


InPlaceTextEditor.HorizontalAlignment 屬性

取得或設定值,指出在編輯器中文字的水平對齊。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Property HorizontalAlignment As StringAlignment
public StringAlignment HorizontalAlignment { get; set; }

屬性值

型別:System.Drawing.StringAlignment

.NET Framework 安全性

請參閱

參考

InPlaceTextEditor 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間