'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.