Moves the specified row from its current index to the specified index, and shifts each column in between and the destination column one column in the direction of the specified column.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim fromIndex As Integer
Dim toIndex As Integer
Dim rowCount As Integer
Dim moveContent As Boolean
instance.MoveRow(fromIndex, toIndex, rowCount, moveContent) |
Parameters
- fromIndex
- Current index of the column to move
- toIndex
- New index of the column after the move
- rowCount
- The column count.
- moveContent
- Whether to move the content
Remarks
Example
This example moves multiple rows.
C# | Copy Code |
---|
fpSpread1.Sheets[0].MoveRow(0,5,2,true); |
Visual Basic | Copy Code |
---|
FpSpread1.Sheets(0).MoveRow(0, 5, 2, True) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also