ExpertXls Excel Library for .NET
ExcelWorkbook Constructor (workbookFormat, defaultSettings)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorkbook ► ExcelWorkbook(ExcelWorkbookFormat, ExcelWorkbookDefaultSettings)
ExpertXls Excel Library for .NET
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.
Declaration Syntax

C# | Visual Basic | Visual C++

    public ExcelWorkbook(
    	ExcelWorkbookFormat workbookFormat,
    	ExcelWorkbookDefaultSettings defaultSettings
    )

    Public Sub New ( _
    	workbookFormat As ExcelWorkbookFormat, _
    	defaultSettings As ExcelWorkbookDefaultSettings _
    )

    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.

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)