[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartTitle.Font

Font Property

Font

Gets the IFontFormat object for the chart title.

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

Declaration
IFontFormat Font { get; }
ReadOnly Property Font As IFontFormat
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.ChartTitle.Text = "Sales Analysis";
IChartTitle title = chart.ChartTitle;
IFontFormat font = title.Font;
font.Color.RGB = Color.Blue;