通过


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

适用于

另请参阅