[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ITickLabels.Font

Font Property

Font

Gets the IFontFormat object for the tick labels.

Use the returned font format to read or modify font settings for the text displayed in the chart axis tick labels.

Declaration
IFontFormat Font { get; }
ReadOnly Property Font As IFontFormat
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Month", "Sales"},
    {"Jan", 1200},
    {"Feb", 1500},
    {"Mar", 1100}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 220).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
IFontFormat font = axis.TickLabels.Font;
font.Color.RGB = Color.Blue;