共用方式為


LegendCell.Alignment 屬性

定義

取得或設定圖例資料格內容的對齊方式。

public:
 virtual property System::Drawing::ContentAlignment Alignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
public virtual System.Drawing.ContentAlignment Alignment { get; set; }
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Overridable Property Alignment As ContentAlignment

屬性值

ContentAlignment

ContentAlignment 值,表示圖例資料格內容的對齊方式。 預設值是 MiddleCenter

備註

Alignment屬性是用來對齊圖例資料格內的文字、數列符號或影像。

適用於