共用方式為


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 圖例格內容的對齊值。 預設值為 MiddleCenter

備註

Alignment 屬性用於將文字、系列符號或圖片在圖例儲存格內對齊。

適用於