ActiveReports 8
Move(String,Int16) Method
See Also 
GrapeCity.ActiveReports.Export.Excel.v8 Assembly > GrapeCity.SpreadBuilder Namespace > DDSheets Class > Move Method : Move(String,Int16) Method

sName
The Name value of the DDSheet that 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 with the specified name to the specified position.

Syntax

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

Parameters

sName
The Name value of the DDSheet that 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.

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