## XpsDocument::SaveAsPs(System::SharedPtr\<System::IO::Stream\>, System::SharedPtr\<EPS::Device::PsSaveOptions\>) method


يحفظ المستند بتنسيق PS.

```cpp
void Aspose::Page::XPS::XpsDocument::SaveAsPs(System::SharedPtr<System::IO::Stream> stream, System::SharedPtr<EPS::Device::PsSaveOptions> options)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| دفق | System::SharedPtr\<System::IO::Stream\> | المجرى لكتابة ملف PS الناتج إليه. |
| خيارات | System::SharedPtr\<EPS::Device::PsSaveOptions\> | خيارات حفظ المستند بتنسيق PS. |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PsSaveOptions](../../../aspose.page.eps.device/pssaveoptions/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::SaveAsPs(System::String, System::SharedPtr\<EPS::Device::PsSaveOptions\>) method


يحفظ المستند بتنسيق PS.

```cpp
void Aspose::Page::XPS::XpsDocument::SaveAsPs(System::String outPsFilePath, System::SharedPtr<EPS::Device::PsSaveOptions> options)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| outPsFilePath | System::String | مسار ملف PS الناتج. |
| خيارات | System::SharedPtr\<EPS::Device::PsSaveOptions\> | خيارات حفظ المستند بتنسيق PS. |

## انظر أيضًا

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PsSaveOptions](../../../aspose.page.eps.device/pssaveoptions/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
