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

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public ExcelWorkbook(
	ExcelWorkbookFormat workbookFormat,
	ExcelWorkbookDefaultSettings defaultSettings
)

Parameters

workbookFormat  ExcelWorkbookFormat
The format of the workbook. The currently supported formats are Excel 97-2003 format and Excel 2007 format.
defaultSettings  ExcelWorkbookDefaultSettings
An object encapsulating the default font, column width and row height for the newly created worksheets in this workbook.

See Also