Back to Devexpress

ChartSheetCollection Interface

officefileapi-devexpress-dot-spreadsheet-7411de9d.md

latest2.8 KB
Original Source

ChartSheetCollection Interface

A collection of ChartSheet objects contained in a workbook.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public interface ChartSheetCollection :
    ISimpleCollection<ChartSheet>,
    IEnumerable<ChartSheet>,
    IEnumerable,
    ICollection
vb
Public Interface ChartSheetCollection
    Inherits ISimpleCollection(Of ChartSheet),
             IEnumerable(Of 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

ChartSheetCollection Members

Add

MoveToNewChartSheet(String)

DevExpress.Spreadsheet Namespace