แก้ไข

แชร์ผ่าน


LegendCellColumn.Font Property

Definition

Gets or sets the font for the legend column text.

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

Property Value

A Font object that specifies the font for the legend column text. The default value is null.

Remarks

This property is only applicable when the LegendCellColumnType is set to Text, and a string value is defined for the Text property. You can use the Font property to set font properties of the legend cell column.

If you attempt to change the properties of this Font object at run time, a compilation error will occur. To set font properties at run time, you must create a new Font object.

Applies to