LegendCellColumn.HeaderFont 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置图例列标题中使用的字体。
public:
virtual property System::Drawing::Font ^ HeaderFont { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public virtual System.Drawing.Font HeaderFont { get; set; }
member this.HeaderFont : System.Drawing.Font with get, set
Public Overridable Property HeaderFont As Font
属性值
一个 Font 对象,表示图例列标题中使用的字体。 默认值为“Microsoft Sans Serif, 8pt, Bold”。
注解
此属性可用于设置图例单元格列标题的字体属性。
如果在运行时尝试更改此 Font 对象的属性,将发生编译错误。 若要在运行时设置字体属性,必须创建新 Font 对象。