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


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

SheetViewCollection Class
SheetViewCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.