GrapeCity.Xaml.SpreadSheet.Data
SwapColumns Method


GrapeCity.Xaml.SpreadSheet.Data Namespace > SheetSpanModel Class : SwapColumns Method
The column index at which to start the swap.
The column index at which to swap columns.
The number of columns to swap.
Swaps a range of columns with another range of columns.
Syntax
'Declaration
 
Public Sub SwapColumns( _
   ByVal fromColumn As Integer, _
   ByVal toColumn As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As SheetSpanModel
Dim fromColumn As Integer
Dim toColumn As Integer
Dim count As Integer
 
instance.SwapColumns(fromColumn, toColumn, count)
public void SwapColumns( 
   int fromColumn,
   int toColumn,
   int count
)

Parameters

fromColumn
The column index at which to start the swap.
toColumn
The column index at which to swap columns.
count
The number of columns to swap.
See Also

Reference

SheetSpanModel Class
SheetSpanModel Members