Skip to main content
Row

ChartSheetCollection Interface

A collection of ChartSheet objects contained in a workbook.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public interface ChartSheetCollection :
    ISimpleCollection<ChartSheet>,
    IEnumerable<ChartSheet>,
    IEnumerable,
    ICollection

The following members return ChartSheetCollection objects:

Remarks

The ChartSheetCollection object stores all chart sheets in the specified workbook. Use the IWorkbook.ChartSheets property to access this object. The ChartSheetCollection.Item property enables you to get an individual chart sheet by its name or index in the collection.

To create a new chart sheet, use the ChartSheetCollection.Add or ChartSheetCollection.Insert method. To move an existing chart to a chart sheet, use the chart’s ChartObject.MoveToNewChartSheet method.

To remove a chart sheet from the workbook, use the ChartSheetCollection.Remove or ChartSheetCollection.RemoveAt method.

See Also