Share via


AmbientProperties.Font 屬性

定義

取得或設定物件的環境字型。

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

屬性值

表示顯示物件中的文字時使用的字型的 Font

備註

如果沒有環境字型, Font 屬性值為 null

適用於

另請參閱