AmbientProperties.Font 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置对象的环境字体。
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。