[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartFormat.Fill

Fill Property

Fill

Gets the IFillFormat object for the chart element.

Use the returned IFillFormat object to access and modify the fill formatting properties of the parent chart element.

Declaration
IFillFormat Fill { get; }
ReadOnly Property Fill As IFillFormat
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 220).Chart;
IChartFormat format = chart.ChartArea.Format;
IFillFormat fill = format.Fill;
fill.Color.RGB = Color.Red;