ExcelWorkbook Constructor (ExcelWorkbookFormat, ExcelWorkbookDefaultSettings) |
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.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public ExcelWorkbook(
ExcelWorkbookFormat workbookFormat,
ExcelWorkbookDefaultSettings defaultSettings
)
Public Sub New (
workbookFormat As ExcelWorkbookFormat,
defaultSettings As ExcelWorkbookDefaultSettings
)
Parameters
- workbookFormat
- Type: ExpertXls.ExcelLibExcelWorkbookFormat
The format of the workbook. The currently supported formats are Excel 97-2003 format and Excel 2007-2019 or above format. - defaultSettings
- Type: ExpertXls.ExcelLibExcelWorkbookDefaultSettings
An object encapsulating the default font, column width and row height for the newly created worksheets in this workbook.
See Also