RichTextBox.Font 屬性

定義

取得或設定控制項顯示之文字字型。

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

屬性值

要套用至控制項顯示之文字的 Font 。 預設值為 DefaultFont 屬性的值。

適用於

另請參閱