[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.DefaultSheetDataModel.Swap

Swap Method

Swap(int, int, int, int, int, int)

Swaps the specified ranges of cells.

Declaration
public void Swap(int fromRow, int fromColumn, int toRow, int toColumn, int rowCount, int columnCount)
Public Sub Swap(fromRow As Integer, fromColumn As Integer, toRow As Integer, toColumn As Integer, rowCount As Integer, columnCount As Integer)
Parameters
Type Name Description
int fromRow

Row index of starting position of range to move

int fromColumn

Column index of starting position of range to move

int toRow

Row index of starting position of destination

int toColumn

Column index of starting position of destination

int rowCount

Number of rows in range

int columnCount

Number of columns in range

Implements
Exceptions
Type Condition
ArgumentException

Specified starting and ending row or row count is not valid

ArgumentException

Specified starting and ending column or column count is not valid