Skip to main content
A newer version of this page is available. .
Row

ChartSheet.Move(Int32) Method

Moves the chart sheet to another location within the workbook’s collection of chart sheets.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Move(
    int position
)

Parameters

Name Type Description
position Int32

An integer value specifying the zero-based destination index of the moved chart sheet. If this value is negative or exceeds the number of items within the collection, an exception occurs.

Remarks

Use the Move method to relocate chart sheets within the IWorkbook.ChartSheets collection. To obtain the actual index of the chart sheet, use the ChartSheet.Index property.

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.

See Also