Aspose::Cells::Workbook::Workbook constructor
Contents
[
Hide
]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
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::Workbook(FileFormatType) constructor
Initializes a new instance of the Workbook class.
Aspose::Cells::Workbook::Workbook(FileFormatType fileFormatType)
Parameter | Type | Description |
---|---|---|
fileFormatType | FileFormatType | The new file format. |
Remarks
The default file format type is Excel97To2003.
Examples
Workbook workbook(FileFormatType::Xlsx);
See Also
- Enum FileFormatType
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::Workbook(const U16String&) constructor
Initializes a new instance of the Workbook class and open a file.
Aspose::Cells::Workbook::Workbook(const U16String &file)
Parameter | Type | Description |
---|---|---|
file | const U16String& | The file name. |
See Also
- Class Vector
- Class U16String
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
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)
Parameter | Type | Description |
---|---|---|
file | const char16_t* | The file name. |
See Also
- Class Vector
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
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)
Parameter | Type | Description |
---|---|---|
stream | const Vector <uint8_t>& | The stream. |
See Also
- Class Vector
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
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)
Parameter | Type | Description |
---|---|---|
file | const U16String& | The file name. |
loadOptions | const LoadOptions& | The load options |
See Also
- Class Vector
- Class U16String
- Class LoadOptions
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
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)
Parameter | Type | Description |
---|---|---|
file | const char16_t* | The file name. |
loadOptions | const LoadOptions& | The load options |
See Also
- Class Vector
- Class LoadOptions
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
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)
Parameter | Type | Description |
---|---|---|
stream | const Vector <uint8_t>& | The stream. |
loadOptions | const LoadOptions& | The load options |
See Also
- Class Vector
- Class LoadOptions
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::Workbook(Workbook_Impl*) constructor
Constructs from an implementation object.
Aspose::Cells::Workbook::Workbook(Workbook_Impl *impl)
See Also
- Class Vector
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::Workbook(const Workbook&) constructor
Copy constructor.
Aspose::Cells::Workbook::Workbook(const Workbook &src)
See Also
- Class Vector
- Class Workbook
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++