Aspose::Cells::Workbook::Workbook constructor

Workbook::Workbook() constructor

Initializes a new instance of the Workbook class.

Aspose::Cells::Workbook::Workbook()

Remarks

The default file format type is Xlsx. If you want to create other types of files, please use Workbook(FileFormatType).

Examples

Workbook workbook;

See Also

Workbook::Workbook(FileFormatType) constructor

Initializes a new instance of the Workbook class.

Aspose::Cells::Workbook::Workbook(FileFormatType fileFormatType)
ParameterTypeDescription
fileFormatTypeFileFormatTypeThe new file format.

Remarks

The default file format type is Excel97To2003.

Examples

Workbook workbook(FileFormatType::Xlsx);

See Also

Workbook::Workbook(const U16String&) constructor

Initializes a new instance of the Workbook class and open a file.

Aspose::Cells::Workbook::Workbook(const U16String &file)
ParameterTypeDescription
fileconst U16String&The file name.

See Also

Workbook::Workbook(const char16_t*) constructor

Initializes a new instance of the Workbook class and open a file.

Aspose::Cells::Workbook::Workbook(const char16_t *file)
ParameterTypeDescription
fileconst char16_t*The file name.

See Also

Workbook::Workbook(const Vector <uint8_t>&) constructor

Initializes a new instance of the Workbook class and open a stream.

Aspose::Cells::Workbook::Workbook(const Vector<uint8_t> &stream)
ParameterTypeDescription
streamconst Vector <uint8_t>&The stream.

See Also

Workbook::Workbook(const U16String&, const LoadOptions&) constructor

Initializes a new instance of the Workbook class and open a file.

Aspose::Cells::Workbook::Workbook(const U16String &file, const LoadOptions &loadOptions)
ParameterTypeDescription
fileconst U16String&The file name.
loadOptionsconst LoadOptions&The load options

See Also

Workbook::Workbook(const char16_t*, const LoadOptions&) constructor

Initializes a new instance of the Workbook class and open a file.

Aspose::Cells::Workbook::Workbook(const char16_t *file, const LoadOptions &loadOptions)
ParameterTypeDescription
fileconst char16_t*The file name.
loadOptionsconst LoadOptions&The load options

See Also

Workbook::Workbook(const Vector <uint8_t>&, const LoadOptions&) constructor

Initializes a new instance of the Workbook class and open stream.

Aspose::Cells::Workbook::Workbook(const Vector<uint8_t> &stream, const LoadOptions &loadOptions)
ParameterTypeDescription
streamconst Vector <uint8_t>&The stream.
loadOptionsconst LoadOptions&The load options

See Also

Workbook::Workbook(Workbook_Impl*) constructor

Constructs from an implementation object.

Aspose::Cells::Workbook::Workbook(Workbook_Impl *impl)

See Also

Workbook::Workbook(const Workbook&) constructor

Copy constructor.

Aspose::Cells::Workbook::Workbook(const Workbook &src)

See Also