## XpsDocument::Save(System::SharedPtr\<System::IO::Stream\>) method


Guarda el documento [XPS](../../) en un flujo.

```cpp
void Aspose::Page::XPS::XpsDocument::Save(System::SharedPtr<System::IO::Stream> stream)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| stream | System::SharedPtr\<System::IO::Stream\> | Flujo del documento [XPS](../../) en el que se guardará. |

## Ver también

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::Save(System::String) method


Guarda el documento [XPS](../../) en el archivo [XPS](../../) ubicado en la *ruta*.

```cpp
void Aspose::Page::XPS::XpsDocument::Save(System::String path)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| ruta | System::String | Ubicación del documento. |

## Ver también

* Class [String](../../../system/string/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
