DataSorter.Sort
Contents
[
Hide
]Sort(Cells, int, int, int, int)
Sorts the data of the area.
public int[] Sort(Cells cells, int startRow, int startColumn, int endRow, int endColumn)
Parameter | Type | Description |
---|---|---|
cells | Cells | The cells contains the data area. |
startRow | Int32 | The start row of the area. |
startColumn | Int32 | The start column of the area. |
endRow | Int32 | The end row of the area. |
endColumn | Int32 | The end column of the area. |
Return Value
the original indices(absolute position, for example, column A is 0, B is 1, …) of the sorted rows/columns. If no rows/columns needs to be moved by this sorting operation, null will be returned.
See Also
- class Cells
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells
Sort(Cells, CellArea)
Sort the data of the area.
public int[] Sort(Cells cells, CellArea area)
Parameter | Type | Description |
---|---|---|
cells | Cells | The cells contains the data area. |
area | CellArea | The area needed to sort |
Return Value
the original indices(absolute position, for example, column A is 0, B is 1, …) of the sorted rows/columns. If no rows/columns needs to be moved by this sorting operation, null will be returned.
See Also
- class Cells
- struct CellArea
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells
Sort()
Sort the data in the range.
public int[] Sort()
Return Value
the original indices(absolute position, for example, column A is 0, B is 1, …) of the sorted rows/columns. If no rows/columns needs to be moved by this sorting operation, null will be returned.
See Also
- class DataSorter
- namespace Aspose.Cells
- assembly Aspose.Cells