ChartSheet.Index Property
Gets the chart sheet index within the workbook’s ChartSheetCollection collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | An integer value specifying a zero-based index of the chart sheet. |
#Remarks
The Index property allows you to return the position of the chart sheet within the workbook’s collection of chart sheets (IWorkbook.ChartSheets). To obtain the chart sheet’s position within the entire document, use the SheetCollection.IndexOf method of the workbook’s collection of sheets.
Use the ChartSheet.Move method to move a chart sheet to another location within the chart sheet collection. You can also rearrange chart sheets within a workbook by using methods inherited from the Sheet interface: Sheet.MoveToBeginning, Sheet.MoveBefore, Sheet.MoveAfter, or Sheet.MoveToEnd.