Workbook Constructor (FileFormatType)
Initializes a new instance of the Workbook class.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.10.0.0 (19.10)
Syntax
public Workbook(
	FileFormatType fileFormatType
)

Parameters

fileFormatType
Type: Aspose.CellsFileFormatType
The new file format.
Remarks
The default file format type is Excel97To2003.
Examples
The following code shows how to use the Workbook constructor to create and initialize a new instance of the class.
[C#]

Workbook workbook = new Workbook(FileFormatType.Excel2007Xlsx);


[Visual Basic]

Dim workbook as Workbook = new Workbook(FileFormatType.Excel2007Xlsx)
See Also