ActiveReports Developer 7
Move(Int16,Int16) Method
See Also 
GrapeCity.ActiveReports.Export.Excel.v7 Assembly > GrapeCity.SpreadBuilder Namespace > DDSheets Class > Move Method : Move(Int16,Int16) Method

oldPosition
The current position (index) of the sheet you want to move.
newPosition
The new position to which you want to move the sheet. If the new position is less than zero, the sheet will be moved to the beginning of the collection (0). If the new position is greater than the upper bound of this collection, the sheet will be moved to the end of the collection.

Glossary Item Box

Moves the sheet at the specified position to the specified new position.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Move( _
   ByVal oldPosition As System.Short, _
   ByVal newPosition As System.Short _
) 
C# 
public void Move( 
   System.short oldPosition,
   System.short newPosition
)

Parameters

oldPosition
The current position (index) of the sheet you want to move.
newPosition
The new position to which you want to move the sheet. If the new position is less than zero, the sheet will be moved to the beginning of the collection (0). If the new position is greater than the upper bound of this collection, the sheet will be moved to the end of the collection.

See Also