Spread Windows Forms 11.0 Product Documentation
Move Method (SheetViewCollection)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewCollection Class : Move Method
Current index of SheetView
New index for SheetView
Moves the specified SheetView to a different index in the collection.
Syntax
'Declaration
 
Public Sub Move( _
   ByVal from As Integer, _
   ByVal to As Integer _
) 
'Usage
 
Dim instance As SheetViewCollection
Dim from As Integer
Dim to As Integer
 
instance.Move(from, to)
public void Move( 
   int from,
   int to
)

Parameters

from
Current index of SheetView
to
New index for SheetView
Example
This example moves a sheet from the specified location.
fpSpread1.Sheets.Count = 5; 
FarPoint.Win.Spread.SheetViewCollection sheet; 
sheet = fpSpread1.Sheets; 
sheet.Move(0, 2);
FpSpread1.Sheets.Count = 5
Dim sheet As FarPoint.Win.Spread.SheetViewCollection
sheet = FpSpread1.Sheets
sheet.Move(0, 2)
See Also

Reference

SheetViewCollection Class
SheetViewCollection Members