Worksheet
Move Method (CellRange, CellRange, Boolean, Boolean)
|
Moves a range of cells from a source range to a destination range.
Namespace:
Spire.Xls
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Move(
CellRange sourceRange,
CellRange destRange,
bool updateReference,
bool copyStyle
)
Public Sub Move (
sourceRange As CellRange,
destRange As CellRange,
updateReference As Boolean,
copyStyle As Boolean
)
public:
void Move(
CellRange^ sourceRange,
CellRange^ destRange,
bool updateReference,
bool copyStyle
)
member Move :
sourceRange : CellRange *
destRange : CellRange *
updateReference : bool *
copyStyle : bool -> unit
Parameters
-
sourceRange
-
Type:
Spire.Xls
CellRange
The range of cells to move.
-
destRange
-
Type:
Spire.Xls
CellRange
The destination range where the cells will be moved.
-
updateReference
-
Type:
System
Boolean
If true, updates formulas and merges in the destination range.
-
copyStyle
-
Type:
System
Boolean
If true, copies the style of the source range to the destination range.
See Also