Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / WorksheetCollection Class / SetSheetIndex Method
The worksheet to be set index.
The new index for the specified worksheet.


In This Topic
    SetSheetIndex Method
    In This Topic
    Set the specified worsheet to an given new index.
    Syntax
    'Declaration
     
    Public Sub SetSheetIndex( _
       ByVal sheet As Worksheet, _
       ByVal newIndex As Integer _
    ) 
    'Usage
     
    Dim instance As WorksheetCollection
    Dim sheet As Worksheet
    Dim newIndex As Integer
     
    instance.SetSheetIndex(sheet, newIndex)
    public void SetSheetIndex( 
       Worksheet sheet,
       int newIndex
    )

    Parameters

    sheet
    The worksheet to be set index.
    newIndex
    The new index for the specified worksheet.
    See Also