[]
Gets the IFontFormat object that represents the font settings of this display unit label.
Use the returned IFontFormat object to read or modify the font applied to the display unit label text.
IFontFormat Font { get; }
ReadOnly Property Font As IFontFormat
worksheet.Range["A1:B3"].Value = new object[,] {
{"Month", "Sales"},
{"Jan", 1200},
{"Feb", 2400}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, worksheet.Range["A1:B3"]).Chart;
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
axis.DisplayUnit = DisplayUnit.Thousands;
IFontFormat font = axis.DisplayUnitLabel.Font;
font.Bold = true;