Legend.TitleFont 屬性

定義

取得或設定圖例標題的字型。

public:
 property System::Drawing::Font ^ TitleFont { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public System.Drawing.Font TitleFont { get; set; }
member this.TitleFont : System.Drawing.Font with get, set
Public Property TitleFont As Font

屬性值

Font

Font 物件,表示圖例標題的字型。 預設值為 "Microsoft Sans Serif, 8pt, Bold"。

備註

這個屬性可以用來設定圖例標題的字型屬性。

如果您嘗試 Font 在執行時間變更這個物件的屬性,就會發生編譯錯誤。 若要在執行時間設定字型屬性,您必須建立新的 Font 物件。

適用於