[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.Move

Move Method

Move(int, int, ManipulationOptions)

Moves the data from a range of cells to the specified location.

Declaration
bool Move(int toRow, int toColumn, ManipulationOptions options = ManipulationOptions.All)
Function Move(toRow As Integer, toColumn As Integer, Optional options As ManipulationOptions = ManipulationOptions.All) As Boolean
Parameters
Type Name Description
int toRow

Row index of starting position of destination

int toColumn

Column index of starting position of destination

ManipulationOptions options

The options indicates which data type will be performed.

Returns
Type Description
bool

true if the cell range is moved, false otherwise.

Move(IRange, ManipulationOptions)

Moves the data from a range of cells to the specified location.

Declaration
bool Move(IRange destination = null, ManipulationOptions options = ManipulationOptions.All)
Function Move(Optional destination As IRange = Nothing, Optional options As ManipulationOptions = ManipulationOptions.All) As Boolean
Parameters
Type Name Description
IRange destination

The specified range will be copied to.

ManipulationOptions options

The options indicates which data type will be performed.

Returns
Type Description
bool

true if the cell range is moved, false otherwise.

Move(string, ManipulationOptions)

Moves the data from a range of cells to the specified location.

Declaration
bool Move(string destination = null, ManipulationOptions options = ManipulationOptions.All)
Function Move(Optional destination As String = Nothing, Optional options As ManipulationOptions = ManipulationOptions.All) As Boolean
Parameters
Type Name Description
string destination

The specified range will be copied to.

ManipulationOptions options

The options indicates which data type will be performed.

Returns
Type Description
bool

true if the cell range is moved, false otherwise.