Spread Windows Forms 17
FarPoint.Win.Spread Assembly / GrapeCity.Spreadsheet.Win Namespace / Factory Class / GetWorksheet Method
A string value indicates the name of worksheet.
A GrapeCity.Spreadsheet.WorksheetType value indicates the type of the GrapeCity.Spreadsheet.Worksheet.


In This Topic
    GetWorksheet Method
    In This Topic
    Gets a new instace of GrapeCity.Spreadsheet.Worksheet.
    Syntax
    'Declaration
     
    
    Protected Overrides NotOverridable Function GetWorksheet( _
       ByVal worksheetName As String, _
       Optional ByVal sheetType As WorksheetType, _
       Optional ByVal workbook As Workbook _
    ) As Worksheet
    'Usage
     
    
    Dim instance As Factory
    Dim worksheetName As String
    Dim sheetType As WorksheetType
    Dim workbook As Workbook
    Dim value As Worksheet
     
    value = instance.GetWorksheet(worksheetName, sheetType, workbook)
    protected override Worksheet GetWorksheet( 
       string worksheetName,
       WorksheetType sheetType,
       Workbook workbook
    )

    Parameters

    worksheetName
    A string value indicates the name of worksheet.
    sheetType
    A GrapeCity.Spreadsheet.WorksheetType value indicates the type of the GrapeCity.Spreadsheet.Worksheet.
    workbook

    Return Value

    A GrapeCity.Spreadsheet.Worksheet object represents the new created worksheet.
    See Also