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