[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFloor.Format

Format Property

Format

Gets the chart format of the floor.

Declaration
IChartFormat Format { get; }
ReadOnly Property Format As IChartFormat
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Value"},
    {"Test 1", 10},
    {"Test 2", 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered3D, 20, 20, 360, 220).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
IChartFormat format = chart.Floor.Format;
format.Fill.Color.RGB = Color.Red;