[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILegend.Font

Font Property

Font

Gets the IFontFormat object that represents the font of the legend.

Use the returned object to access and modify font settings for the legend text, such as color, size, and italic style.

Declaration
IFontFormat Font { get; }
ReadOnly Property Font As IFontFormat
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
ILegend legend = chart.Legend;
IFontFormat font = legend.Font;
font.Color.RGB = Color.Red;