LegendCellColumn.Font Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET