## Workbook::Save(const U16String\&, SaveFormat) method


Saves the workbook to the disk.

```cpp
void Aspose::Cells::Workbook::Save(const U16String &fileName, SaveFormat saveFormat)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const U16String\& | The file name. |
| saveFormat | SaveFormat | The save format type. |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Enum [SaveFormat](../../saveformat/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(const char16_t*, SaveFormat) method


Saves the workbook to the disk.

```cpp
void Aspose::Cells::Workbook::Save(const char16_t *fileName, SaveFormat saveFormat)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const char16_t* | The file name. |
| saveFormat | SaveFormat | The save format type. |

## See Also

* Class [Vector](../../vector/)
* Enum [SaveFormat](../../saveformat/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(const U16String\&) method


Save the workbook to the disk.

```cpp
void Aspose::Cells::Workbook::Save(const U16String &fileName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const U16String\& |  |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(const char16_t*) method


Save the workbook to the disk.

```cpp
void Aspose::Cells::Workbook::Save(const char16_t *fileName)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const char16_t* |  |

## See Also

* Class [Vector](../../vector/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(const U16String\&, const SaveOptions\&) method


Saves the workbook to the disk.

```cpp
void Aspose::Cells::Workbook::Save(const U16String &fileName, const SaveOptions &saveOptions)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const U16String\& | The file name. |
| saveOptions | const SaveOptions\& | The save options. |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [SaveOptions](../../saveoptions/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(const char16_t*, const SaveOptions\&) method


Saves the workbook to the disk.

```cpp
void Aspose::Cells::Workbook::Save(const char16_t *fileName, const SaveOptions &saveOptions)
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const char16_t* | The file name. |
| saveOptions | const SaveOptions\& | The save options. |

## See Also

* Class [Vector](../../vector/)
* Class [SaveOptions](../../saveoptions/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(SaveFormat) method


Saves the workbook to the stream.

```cpp
Vector<uint8_t> Aspose::Cells::Workbook::Save(SaveFormat saveFormat)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | SaveFormat | The file stream. |

## See Also

* Class [Vector](../../vector/)
* Enum [SaveFormat](../../saveformat/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## Workbook::Save(const SaveOptions\&) method


Saves the workbook to the stream.

```cpp
Vector<uint8_t> Aspose::Cells::Workbook::Save(const SaveOptions &saveOptions)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | const SaveOptions\& | The file stream. |

## See Also

* Class [Vector](../../vector/)
* Class [SaveOptions](../../saveoptions/)
* Class [Workbook](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
