ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.SpreadBuilder Assembly / GrapeCity.SpreadBuilder Namespace / DDSheets Class / Move Method / Move(String,Int16) Method
The value of the DDSheet's Name property that you want to move.
The new position you want to move the sheet to. If the new position is less than zero, the sheet will be moved to the begining 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.

In This Topic
    Move(String,Int16) Method
    In This Topic
    Moves the sheet with the specfied name to the specified position.
    Syntax
    'Declaration
     
    Public Overloads Sub Move( _
       ByVal sName As String, _
       ByVal newPosition As Short _
    ) 
    public void Move( 
       string sName,
       short newPosition
    )

    Parameters

    sName
    The value of the DDSheet's Name property that you want to move.
    newPosition
    The new position you want to move the sheet to. If the new position is less than zero, the sheet will be moved to the begining 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