[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILegend.Format

Format Property

Format

Gets the chart format of the legend.

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