ExcelWorkbook(ExcelWorkbookFormat, ExcelWorkbookDefaultSettings) Constructor |
Creates a workbook with a single worksheet. The format of the workbook is specified by the workbookFormat parameter.
The currently supported formats are Excel 97-2003 format and Excel 2007-2019 or above format.
Namespace: ExpertXls.ExcelLibAssembly: expertxls (in expertxls.dll) Version: 9.0.0
Syntaxpublic ExcelWorkbook(
ExcelWorkbookFormat workbookFormat,
ExcelWorkbookDefaultSettings defaultSettings
)
Public Sub New (
workbookFormat As ExcelWorkbookFormat,
defaultSettings As ExcelWorkbookDefaultSettings
)
Parameters
- workbookFormat ExcelWorkbookFormat
- The format of the workbook. The currently supported formats are Excel 97-2003 format and Excel 2007-2019 or above format.
- defaultSettings ExcelWorkbookDefaultSettings
- An object encapsulating the default font, column width and row height for the newly created worksheets in this workbook.
See Also