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


يحفظ مستند [XPS](../../) إلى الدفق.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| stream | System::SharedPtr\<System::IO::Stream\> | دفق مستند [XPS](../../) ليتم حفظه فيه. |

## انظر أيضًا

* 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


يحفظ مستند [XPS](../../) إلى ملف [XPS](../../) يقع في *المسار* .

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| المسار | System::String | موقع المستند. |

## انظر أيضًا

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