LegendCellColumn.HeaderFont 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定用於圖例欄位標頭的字型。
public:
virtual property System::Drawing::Font ^ HeaderFont { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public virtual System.Drawing.Font HeaderFont { get; set; }
member this.HeaderFont : System.Drawing.Font with get, set
Public Overridable Property HeaderFont As Font
屬性值
一個 Font 代表圖例欄位標頭所用字型的物件。 預設值為「Microsoft 無襯線,8點,粗體」。
備註
此特性可用於設定圖例儲存格欄位標頭的字型屬性。
如果你在執行時嘗試更改這個 Font 物件的屬性,就會發生編譯錯誤。 要在執行時設定字型屬性,你必須建立一個新的 Font 物件。